Information processing device, external storage device, host device, relay device, control program, and control method of information processing device

ABSTRACT

According to the embodiments, an external storage device switches to an interface controller for supporting only a read operation of nonvolatile memory when a shift condition for shifting to a read only mode is met. A host device switches to an interface driver for supporting only the read operation of the nonvolatile memory when determining to recognize as read only memory based on information acquired from the external storage device.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No.16/407,430 filed May 9, 2019, which is a continuation of U.S.application Ser. No. 15/703,349 filed Sep. 13, 2017, which is acontinuation of U.S. application Ser. No. 14/920,660 filed Oct. 22,2015, which is a continuation of U.S. application Ser. No. 14/251,285filed Apr. 11, 2014, which is a continuation of U.S. application Ser.No. 13/848,550 filed on Mar. 21, 2013, which is a continuation of U.S.application Ser. No. 13/551,060, filed on Jul. 17, 2012, which is acontinuation of PCT international application Ser. No. PCT/JP2011/072693filed on Sep. 26, 2011 which designates the United States and claims thebenefit of priority from Japanese Patent Application No. 2011-053228filed on Mar. 10, 2011 and Japanese Patent Application No. 2011-162330filed on Jul. 25, 2011; the entire contents of which are incorporatedherein by reference.

FIELD

Embodiments described herein relate generally to an informationprocessing device, an external storage device, a host device, a relaydevice, a control program, and a control method of informationprocessing device.

BACKGROUND

As an external storage device used in a computer system, an SSD (SolidState Drive) mounted with a nonvolatile semiconductor memory such as aNAND-type flash memory attracts attention. The flash memory hasadvantages such as high speed and light weight compared with a magneticdisk device. The SSD includes a plurality of flash memory chips, acontroller that performs read/write control for the respective flashmemory chips in response to a request from a host apparatus, a buffermemory for performing data transfer between the respective flash memorychips and the host apparatus, a power supply circuit, and a connectioninterface to the host apparatus.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a function configuration exampleof a computer system of a first embodiment.

FIG. 2 is a block diagram illustrating an internal configuration exampleof a NAND memory chip.

FIG. 3 is a circuit diagram illustrating a configuration example of oneplane contained in the NAND memory chip.

FIG. 4 is a view illustrating a threshold value distribution in a fourvalue data storage method.

FIG. 5 is a block diagram illustrating a function configuration exampleof a computer system of when saving a SSD control tool in an SSD.

FIG. 6 is a block diagram illustrating a function configuration exampleof a computer system of when saving the SSD control tool in anotherexternal storage device.

FIG. 7 is a block diagram illustrating a function configuration exampleof a computer system of when installing the SSD control tool from theWEB.

FIG. 8 is a block diagram illustrating a function configuration exampleof a computer system of when installing the SSD control tool from anoptical driver.

FIG. 9 is a block diagram illustrating a function configuration exampleof a computer system of when installing the SSD control tool from USBmemory.

FIG. 10 is a view illustrating an outer appearance configuration of thecomputer system.

FIG. 11 is a block diagram illustrating a function configuration exampleof the host.

FIG. 12 is a block diagram illustrating a hierarchical functionconfiguration example of the host.

FIG. 13 is a view illustrating management information of the SSD.

FIG. 14 is a flowchart illustrating the write operation example of theSSD.

FIG. 15 is a flowchart illustrating the operation example of garbagecollection of the NAND memory of the SSD.

FIG. 16 is a flowchart illustrating the read operation example of theSSD.

FIG. 17 is a flowchart illustrating the operation example at the time oferror occurrence of the SSD.

FIG. 18 is a flowchart illustrating the operation example of when theread only mode shift condition is met in the SSD.

FIG. 19 is a graph illustrating the relationship of the raw data of thestatistical information and the defect rate of the SSD.

FIG. 20 is a graph illustrating the relationship of the raw data of thestatistical information and the performance of the SSD.

FIG. 21 is a flowchart illustrating the operation example at the time ofstartup of the SSD.

FIG. 22 is a flowchart illustrating an operation example at the time ofstartup of the host.

FIG. 23 is a flowchart illustrating an operation example during theoperation of the host.

FIGS. 24A and 24B are views illustrating a drive display screen examplein the host.

FIG. 25 is a flowchart illustrating another operation example at thetime of startup of the host.

FIG. 26 is a view illustrating one example of a management table of thestatistical information X01 to X19, X23, X24.

FIG. 27 is a flowchart illustrating another operation example at thetime of startup of the host.

FIG. 28 is a block diagram illustrating another configuration example ofthe host.

FIG. 29 is a flowchart illustrating an operation example at the time ofstartup of the host when the host illustrated in FIG. 28 is adopted.

FIG. 30 is a block diagram illustrating a function configuration exampleof a computer system of a second embodiment.

FIG. 31 is a block diagram illustrating a function configuration exampleof a computer system of a third embodiment.

FIG. 32 is a view illustrating an outer appearance configuration exampleof a computer system of a fourth embodiment.

FIG. 33 is a block diagram illustrating a function configuration exampleof a computer system of the fourth embodiment.

DETAILED DESCRIPTION

In general, according to one embodiment, an information processingdevice includes a host device and an external storage device. Theexternal storage device includes nonvolatile memory that enables readand write, an interface controller to be connected to the host device,and a first control unit. The interface controller determines whether ornot a shift condition for shifting to the read only mode for causing thenonvolatile memory to perform only the read operation is met, and whenthe shift condition is met, the first control unit switches theinterface controller from a first interface controller to a secondinterface controller. The host device includes an interface driver foroperating the external storage device, and a second control unit. Thesecond control unit determines whether or not to recognize thenonvolatile memory as read only memory in which only the read operationcan be carried out based on the information acquired from the externalstorage device, and switches the interface driver from a first interfacedriver to a second interface driver when determined to recognize as theread only memory. When the external storage device determined to berecognized as read only memory is connected to the host device, the hostdevice selects the second interface driver; and the external storagedevice selects the second interface controller, whereby the host devicerecognizes the external storage device as a read only memory withoutissuing a write request to the external storage device.

When data is stored in a nonvolatile semiconductor storage element suchas a NAND-type flash memory, writing is performed after once erasingdata in units of block, reading/writing is performed in units of page,or a unit of erasing/reading/writing is fixed. On the other hand, a unitfor a host apparatus such as a personal computer to write data in andread out the data from a secondary storage device such as a hard disk iscalled sector. The sector is set independently from a unit of erasing,writing, and readout of a semiconductor storage device. For instance,the unit of erase/write/read of the nonvolatile semiconductor memory maybe greater than the unit of write/read of the host device.

When configuring the secondary storage device of the personal computerusing the flash memory, a block (defective block, bad block) that cannotbe used as a storage region due to reasons of many errors, and a region(defective region) that cannot be read may generate. If the number ofdefective blocks or the number of defective regions exceed the upperlimit value, a new defective block or a defective region cannot beregistered and both the data stored in the buffer memory (cache memory)and the data to which the write request is made cannot be guaranteed tobe written to the flash memory. Thus, when the number of defectiveblocks or the number of defective regions exceed a predetermined value,the write of data may suddenly become disabled although there is freespace in the flash memory.

As a solution thereto, there is a method of managing the number of badclusters and the number of bad blocks generated in the NAND type flashmemory, and switching the operation mode of when writing the data fromthe host device to the NAND type flash memory according to the number ofbad clusters and the number of bad blocks. The cluster is a managementunit serving as a logical address in the SSD. The cluster size is anatural number multiples of two or greater of the sector size, and thecluster address is configured by a bit sequence of high order from apredetermined bit of an LBA.

In this method, the operation mode of the SSD is divided into thefollowing three modes.

-   -   WB mode (Write Back Mode): normal operation of once writing data        to the cache memory, and removing the same to the NAND type        flash memory based on a predetermined condition.    -   WT mode (Write Through Mode): operation mode of writing data        written to the cache memory to the NAND type flash memory each        time with one write request. The data written from the host is        guaranteed as much as possible by writing to the NAND type flash        memory each time. The SSD transitions to the WT mode when the        number of remaining entries of the bad cluster table or the bad        block table becomes smaller than or equal to a predetermined        number.    -   RO mode (Read Only Mode): mode of prohibiting all processes        involving write to the NAND type flash memory. The data already        written from the host is guaranteed as much as possible when the        SSD comes close to the end of its lifespan by returning an error        respect to all the write requests from the host so as not to        perform write. The SSD transitions to the RO mode when the        number of remaining entries of the bad cluster table or the bad        block table becomes smaller than or equal to a predetermined        number or when the free block is insufficient.

In the WB mode and the WT mode, the SSD accepts both the read requestand the write request from the host, and processes the same. In the ROmode, the SSD accepts the read request from the host and processes thesame, but does not process the write request from the host and returnsan error.

The host transmits the write request to the SSD when the SSD isconnected to the host mounted with the operating system (OS) such asWindows (registered trademark), and the host recognizes the SSD as anavailable external storage device when the write request is normallyprocessed.

If the host transmits the write request to the SSD when the SSD thattransitioned to the RO mode is connected to the host mounted with theWindows (registered trademark), the SSD returns an error to the host andhence the host may not recognize the SSD as an available externalstorage device. Therefore, the data recorded in the past may not be readfrom the SSD even if the SSD in the RO mode in which read is enabled isconnected to the host.

In the present embodiment, the SSD that shifted to the RO mode can benormally recognized by the host as a device in which only the readoperation can be carried out.

Exemplary embodiments of an information processing device, an externalstorage device, a host device, a relay device, and a control method ofthe information processing device will be explained below in detail withreference to the accompanying drawings. The present invention is notlimited to the following embodiments.

First Embodiment

FIG. 1 illustrates a configuration of a first embodiment of a computersystem. The computer system 1 is configured by an SSD 10 serving as anexternal storage device, a host 100, and an ATA interface 90 serving asa memory interface connecting the SSD 10 and the host 100. The externalstorage device may be other readable and writable nonvolatile storagedevice other than the SSD 10 such as a hard disc drive, a hybrid harddisc drive, USB memory, or an SD card. The host 100 may be a personalcomputer, may be an imaging device such as a still camera or a videocamera, or may be a tablet computer, a smart phone, a game machine, acar navigation system, or the like.

As illustrated in FIG. 1 , the SSD 10 includes NAND type flash memory(hereinafter abbreviated as NAND memory) 20 serving as nonvolatilesemiconductor memory, an interface controller 30 for transmitting andreceiving signals with the host 100 through the ATA interface 90, RAM(Random Access Memory) 40 serving as volatile semiconductor memoryincluding cache memory (CM) 40 a functioning as an intermediate bufferof the interface controller 30 and the NAND memory 20, a memorycontroller 50 responsible for the management and control of the NANDmemory 20 and the RAM 40, and the control of the interface controller30, an IPL (Initial Program Loader) 55 serving as a boot loader forperforming various types of startup process including initialization atthe time of startup of the SSD 10, an ECC correction circuit 58 forexecuting an error correction process of the data read out from the NANDmemory 20, and a bus 57 for connecting all the constituent elements. TheIPL 55 may be arranged in the memory controller 50. In this embodiment,the ATA interface is configured as a Serial ATA (SATA) interface. Otherinterfaces such as the Parallel ATA (PATA) interface may be used inplace of the SATA interface 90. Other interfaces such as the USB(Universal Serial Bus) interface, the PCI Express interface, theThunderbolt (registered trademark) interface, or the Serial AttachedSCSI (SAS) interface may be used in place of the ATA interface 90.

DRAM (Dynamic Random Access Memory), SRAM (Static Random Access Memory),FeRAM (Ferroelectric Random Access Memory), MRAM (MagnetoresistiveRandom Access Memory), PRAM (Phase Change Random Access Memory), or thelike may be adopted for the RAM 40. The RAM 40 may be arranged in thememory controller 50.

The NAND memory 20 stores therein user data specified by the host 100,stores the management table in which the user data is managed, andstores the management information managed in the RAM 40 for backup. TheNAND memory 20 includes a memory cell array in which a plurality ofmemory cells is arrayed in a matrix form, where each memory cell canstore multiple values using an upper page and a lower page. The NANDmemory 20 is configured by a plurality of memory chips, and each memorychip is configured by arraying a block or a unit of data erasing inplurals. In the NAND memory 20, writing and reading of data is performedin page units. The block consists of a plurality of pages.

FIG. 2 illustrates an internal configuration example of the NAND memorychip configuring the NAND memory 20. The NAND memory 20 includes one ormore NAND memory chips 20080. The NAND memory chip 20080 includes amemory cell array in which a plurality of memory cells is arrayed in amatrix form. The memory cell transistor configuring the memory cellarray is configured by a MOSFET (Metal Oxide Semiconductor Field EffectTransistor) having a stacked gate structure formed on a semiconductorsubstrate. The stacked gate structure includes a charge accumulatinglayer (floating gate electrode) formed on the semiconductor substratewith a gate insulating film interposed, and a control gate electrodeformed on the floating gate electrode with an inter-gate insulating filminterposed. The memory cell transistor has the threshold value voltagechanged according to the number of electrons accumulated in the floatinggate electrode, and stores the data according to the difference in thethreshold value voltage. In the present embodiment, a case in which theindividual memory cell is the write method of the four-value storagemethod of 2 bit/cell using the upper page and the lower page has beendescribed, but the essence of the present invention is not changed evenin a case in which the individual memory cell is the write method of thetwo-value storage method of 1 bit/cell using a single page or the writemethod of the eight-value storage method of 3 bit/cell using the upperpage, the middle page, and the lower page. The memory cell transistor isnot limited to the structure including the floating gate electrode, andmay be a structure in which the threshold value voltage can be adjustedby trapping the electrons at the nitride interface serving as the chargeaccumulating layer such as MONOS (Metal-Oxide-Nitride-Oxide-Silicon).The MONOS type memory cell transistor may be similarly configured tostore one bit or may be configured to store multiple values.Furthermore, a semiconductor storage medium in which the memory cell isarranged three-dimensionally as described in U.S. Patent ApplicationPublication No. 2010 0172189 and U.S. Patent Application Publication No.2010 0254191 may be adopted for the nonvolatile storage medium.

As illustrated in FIG. 2 , the NAND memory chip 20080 includes a memorycell array 20082 in which a memory cell for storing data is arranged ina matrix form. The memory cell array 20082 includes a plurality of bitlines, a plurality of word lines, and a common source line, where thememory cell in which data is electrically rewritable is arranged in amatrix form at the intersection of the bit line and the word line. A bitcontrol circuit 20083 for controlling the bit line and a word linecontrol circuit 20085 for controlling the word line voltage areconnected to the memory cell array 20082. In other words, the bit linecontrol circuit 20083 reads out the data of the memory cell in thememory cell array 20082 through the bit line, and applies a writecontrol voltage to the memory cell in the memory cell array 20082through the bit line to carry out write to the memory cell.

A column decoder 20084, a data input/output buffer 20089 and a datainput/output terminal 20088 are connected to the bit line controlcircuit 20083. The data of the memory cell read out from the memory cellarray 20082 is output to the outside from the data input/output terminal20088 through the bit line control circuit 20083 and the datainput/output buffer 20089. The write data externally input to the datainput/output terminal 20088 is input to the bit line control circuit20083 by the column decoder 20084 through the data input/output buffer20089, and the write to the specified memory cell is carried out.

The memory cell array 20082, the bit line control circuit 20083, thecolumn decoder 20084, the data input/output buffer 20089, and the wordline control circuit 20085 are connected to a control circuit 20086. Thecontrol circuit 20086 generates a control signal and a control voltagefor controlling the memory cell array 20082, the bit line controlcircuit 20083, the column decoder 20084, the data input/output buffer20089, and the word line control circuit 20085 according to the controlsignal input to the control signal input terminal 20087. The circuitportion other than the memory cell array 20082 of the NAND memory chip20080 is called the NAND controller (NANDC) 20081.

FIG. 3 illustrates a configuration of the memory cell array 20082illustrated in FIG. 2 . The memory cell array 20082 is an NAND cell typememory cell array, and is configured to include a plurality of NANDcells. One NAND cell is configured by a memory string MS includingmemory cells connected in series, and selection gates S1, S2 connectedto both ends thereof. The selection gate S1 is connected to the bit lineBL, and the selection gate S2 is connected to the source line SRC. Thecontrol gate of the memory cell MC arranged in the same row is commonlyconnected to the word lines WL0 to WL_(m-1). The first selection gate S1is commonly connected to the select line SGD, and the second selectiongate S2 is commonly connected to the select line SGS.

The memory cell array 20082 includes one or a plurality of planes, andthe plane includes a plurality of blocks. Each block is configured by aplurality of NAND cells, and the data is erased in units of blocks.

The plurality of memory cells connected to one word line configure onephysical sector. The data is written and read out for every physicalsector (physical sector is irrelevant to the logical sector of the LBAto be described later). The data worth two pages is stored in onephysical sector in the case of the 2 bit/cell write method (four value).The data worth one page is stored in one physical sector in the case ofthe 1 bit/cell write method (two value), and the data worth three pagesis stored in one physical sector in the case of the 3 bit/cell writemethod (eight value).

At the time of read operation, the program verify operation, and theprogram operation, one word line is selected and one physical sector isselected according to the physical address received from the memorycontroller 50. The switching of the page in the physical sector iscarried out by the physical address. In the present embodiment, the NANDmemory 20 is a 2 bit/cell write method, and the memory controller 50handles assuming that two pages, the upper page and the lower page, areassigned as physical pages to the physical sector, where the physicaladdress is assigned to all pages.

The four value NAND memory of 2 bit/cell is configured such that thethreshold value voltage in one memory cell has four ways ofdistribution. FIG. 4 illustrates the relationship between the four valuedata (data “11”, “01”, “10”, “00”) of two bits stored in the memory cellof the four value NAND cell flash memory and the threshold value voltagedistribution of the memory cell. In FIG. 4 , V_(A1) is the voltageapplied to the selected word line when reading out two data with respectto the physical sector in which only the lower page is written and theupper page is not yet written, and V_(A1V) indicates the verify voltageapplied to verify whether or not the write is completed when carryingout write to the A1.

V_(A2), V_(B2), V_(C2) are voltages applied on the selected word linewhen reading out four data with respect to the physical sector in whichthe lower page and the upper page are written, and V_(A2V), V_(B2V),V_(C2V) indicate the verify voltage applied to verify whether or not thewrite is completed when carrying out write to each threshold valuevoltage distribution. Vread1, Vread2 indicate read voltages applied tothe non-selected memory cell in the NAND cell to conduct the relevantnon-selected memory cell regardless of the held data when carrying outreadout of the data. Furthermore, Vev1, Vev2 indicate erase verifyvoltages applied to the memory cell to verify whether or not the erasureis completed when erasing the data of the memory cell, and have anegative value. The magnitude is determined in view of the influence ofthe interference of the adjacent memory cell. The magnitude relationshipof each voltage is,Vev1<V _(A1) <V _(A1V) <Vread1Vev2<V _(A2) <V _(A2V) <V _(B2) <V _(B2V) <V _(C2) <V _(C2V) <Vread2.

The erase verify voltages Vev1, Vev2, Vev3 take negative values, asdescribed above, but the voltage actually applied to the control gate ofthe memory cell MC in the erase verify operation is not a negativevalue, and is zero or a positive value. That is, in the actual eraseverify operation, a positive voltage is applied on the back gate of thememory cell MC, and a voltage having a value of zero or a positive valuesmaller than the back gate voltage is applied on the control gate of thememory cell MC. In other words, the erase verify voltages Vev1, Vev2,Vev3 are voltages that equivalently have a negative value.

The threshold value voltage distribution ER of the memory cell after theblock erasure has an upper limit value of a negative value, and isassigned with data “11”. The memory cell of the data “01”, “10”, and“00” in a state the lower page and upper page are written each has apositive threshold value voltage distribution A2, B2, C2 (lower limitvalue of A2, B2, C2 is also a positive value), where the threshold valuevoltage distribution A2 of data “01” has the lowest voltage value, thethreshold value voltage distribution C2 of data “00” has the highestvoltage value, and the voltage values of various types of thresholdvalue voltage distributions have a relationship of A2<B2<C2. The memorycell of data “10” in a state the lower page is written and the upperpage is not written has a positive threshold value voltage distributionA1 (lower limit value of A1 is also a positive value). The thresholdvalue voltage distribution illustrated in FIG. 4 is merely an example,and the present invention is not to be limited thereby. For instance,the threshold value voltage distributions A2, B2, C2 are all explainedto be positive threshold value voltage distributions in FIG. 4 , but acase in which the threshold value voltage distribution A2 is adistribution of negative voltage and the threshold value voltagedistributions B2, C2 are distributions of positive voltages is alsoencompassed within the scope of the invention. Even if the thresholdvalue voltage distributions ER1, ER2 are positive values, the presentinvention is not to be limited thereby. In the present embodiment, thecorrespondence relationship of the data of ER2, A2, B2, C2 is describedas “11”, “01”, “10”, “00”, but may be other correspondence relationshipssuch as “11” “01”, “00”, “10”.

The two bit data of one memory cell includes the lower page data and theupper page data, where the lower page data and the upper page data arewritten to the memory cell through different write operations, that is,two write operations. Notating the data as “*@”, * represents the upperpage data and @ represents the lower page data.

First, the write of the lower page data will be described with referenceto the first stage to the second stage of FIG. 4 . All the memory cellsare assumed to have the threshold value voltage distribution ER in theerasure state, and store the data “11”. As illustrated in FIG. 14 , whenthe write of the lower page data is carried out, the threshold valuevoltage distribution ER of the memory cell is divided into two thresholdvalue voltage distributions (ER1, A1) according to the value (“1” or“0”) of the lower page data. If the value of the lower page data is “1”,the threshold value voltage distribution ER of the erasure state ismaintained and hence ER1=ER, but may be ER1>ER.

If the value of the lower page data is “0”, high electric field isapplied on the tunnel oxide film of the memory cell, electrons areinjected to the floating gate electrode, and the threshold value voltageVth of the memory cell is raised by a predetermined amount.Specifically, the verify potential VA1V is set, and the write operationis repeated until reaching the threshold value voltage of greater thanor equal to the verify voltage VA1V. As a result, the memory cellchanges to the write state (data “10”). If the threshold value voltageis not reached even if the write operation is repeated for apredetermined number of times (or if number of memory cells that has notreached the threshold value voltage is greater than or equal to apredetermined value), the write status with respect to the physical pagebecomes “write error”.

The write of the upper page data will now be described with reference tothe second stage to the third stage of FIG. 4 . The write of the upperpage data is carried out based on the write data (upper page data) inputfrom the exterior of the chip, and the lower page data already writtento the memory cell.

In other words, as illustrated in the second stage to the third stage ofFIG. 4 , if the value of the upper page data is “1”, the high electricfield is prevented from being applied to the tunnel oxide film of thememory cell thus preventing the rise of the threshold value voltage Vthof the memory cell. As a result, the memory cell of data “11” (thresholdvalue voltage distribution ER1 of erasure state) maintains the data “11”as is (ER2), and the memory cell of the data “10” (threshold valuevoltage distribution A1) maintains the data “10” as is (B2). However, itis desirable to adjust the lower limit value of the threshold valuevoltage distribution using the positive verify voltage V_(B2V) greaterthan the verify voltage V_(A1V) thus forming the threshold value voltagedistribution B2 in which the width of the threshold value voltagedistribution is narrowed from the standpoint of ensuring the voltagemargin between each distribution. If the threshold value voltage is notreached even if the lower limit value adjustment is repeated for apredetermined number of times (or if number of memory cells that has notreached the threshold value voltage is greater than or equal to apredetermined value), the write status with respect to the physical pagebecomes “write error”.

If the value of the upper page data is “0”, the high electric field isapplied to the tunnel oxide film of the memory cell, the electrons areinjected to the floating gate electrode, and the threshold value voltageVth of the memory cell is raised by a predetermined amount.Specifically, the verify potentials V_(A2V), V_(C2V) are set, and thewrite operation is repeated until reaching the threshold value voltageof greater than or equal to the verify voltage V_(A1V). As a result, thememory cell of the data “11” (threshold value voltage distribution ER1of erasure state) changes to the data “01” of the threshold valuevoltage distribution A2, and the memory cell of data “10” (A1) changesto data “00” of the threshold value voltage distribution C2. In thiscase, the lower limit value of the threshold value voltage distributionsA2, C2 is adjusted using the verify voltages V_(A2V), V_(C2V). If thethreshold value voltage is not reached even if the write operation isrepeated for a predetermined number of times (or if number of memorycells that has not reached the threshold value voltage is greater thanor equal to a predetermined value), the write with respect to thephysical page becomes “write error”.

In the erasure operation, the erase verify potential Vev is set, and theerasure operation is repeated until the threshold value voltage ofsmaller than or equal to the verify voltage Vev. As a result, the memorycell changes to the erasure state (data “11”). If the threshold valuevoltage is not reached even if the erasure operation is repeated for apredetermined number of times (or if number of memory cells that has notreached the threshold value voltage is greater than or equal to apredetermined value), the erase status with respect to the physical pagebecomes “erase error”.

One example of the data write method in the typical four value storagemethod is as described above. The basic operation is similar in themulti-bit storage method of three or more bits as the operation ofdividing the threshold value voltage distribution in eight or more waysaccording to the upper page data is simply added with respect to theoperation described above.

The RAM 40 includes cache memory (CM) 40 a functioning as a datatransfer cache between the host 100 and the NAND memory 20. The RAM 40functions as management information storage memory and work regionmemory. The management table managed by the RAM 40 is realized byextracting various types of management tables stored in the NAND memory20 at the time of startup, and is evacuated and saved in the NAND memory20 periodically or at the time of power disconnection.

The memory controller 50 has the function thereof realized by aprocessor for executing a system program (firmware) stored in the NANDmemory 20, various types of hardware circuits, and the like, andexecutes the data transfer control between the host 100 and the NANDmemory 20 with respect to various types of commands such as the writerequest, the cache flash request, and the read request from the host100, the update and management of various types of management tablesstored in the RAM 40 and the NAND memory 20.

When issuing the read request or the write request, the host 100 outputsLBA (Logical Block Addressing) serving as a logical address to the SSD10 through the ATA interface 90. LBA is a logical address in whichserial numbers from zero are attached to logical sectors (size: e.g.,512 B). When using the read request or the write request, the host 100outputs the sector size corresponding to the target of read request orthe write request along with the LBA to the SSD 10.

The interface controller 30 includes a read/write mode interfacecontroller (hereinafter abbreviated as RWIF controller) 31 such as theATA controller used in the normal operation mode in which read/write areenabled, a read only mode interface controller (hereinafter abbreviatedas ROIF controller) 32 such as the ATAPI (ATA Packet Interface)controller or a controller of the read only media standard used in theread only mode in which only data reading of data reading and datawriting is permitted, and selection switches 33, 34 capable of selectingeither one of the RWIF controller 31 or the ROIF controller 32.

The selection switch 33 exclusively selects either one of the RWIFcontroller 31 or the ROIF controller 32 and connects the same to the ATAinterface 90, and the selection switch 34 exclusively selects either oneof the RWIF controller 31 or the ROIF controller 32 and connects thesame to the bus 57. In the selection state of the RWIF controller 31,the selection switch 33 causes the ATA interface 90 and the RWIFcontroller 31 to be in an electrically connected state, and the switch34 causes the bus 57 and the RWIF controller 31 to be in an electricallyconnected state. In the selection state of the ROIF controller 32, theselection switch 33 causes the ATA interface 90 and the ROIF controller32 to be in an electrically connected state, and the switch 34 causesthe bus 57 and the ROIF controller 32 to be in an electrically connectedstate.

The RWIF controller 31 is desirably configured to explicitly indicate tothe host 100 that the SSD 10 is the ATA device. For instance, in theDevice Signature described in ATA/ATAPI Command Set-2 (ACS-2), LBA(7: 0)is output to 01h, LBA(15: 8) to 00h, and LBA(23: 16) to the host 100 as00h, so that notification can be made to the host 100 that the SSD 10 isthe ATA device. The ROIF controller 32 is desirably configured toexplicitly indicate to the host 100 that the SSD 10 is the ATAPI device.For instance, in the Device Signature described in ACS-2, LBA(7: 0) isoutput to 01h, LBA(15: 8) to 14h, and LBA(23: 16) to the host 100 asEBh, so that notification can be made to the host 100 that the SSD 10 isthe ATAPI device.

The ROIF controller 32 is configured to notify the host 100 that the SSD10 does not support the write command and is read only. For instance,when receiving the command GET CONFIGURATION (46h) adopted in the INCITSMulti-Media Commands-6 (MMC-6) from the host 100 through the ATAinterface 90, the ROIF controller 32 returns to the host 100 that allthe write functions are non-supportive in the features such as RandomWritable (Feature Number=0020h), Incremental Streaming Writable (FeatureNumber=0021h), Write Once (Feature Number=0025h), and the like.Therefore, the SSD 10 can be recognized as a readable device even if thehost 100 side is using the Windows (registered trademark) and the likefor the OS. On the other hand, the ROIF controller 32 may be configuredto explicitly indicate to the host 100 that the SSD 10 is the ATAdevice, similar to the RWIF controller 31, and may be configured toreturn to the host 100 that all the write functions are non-supportivewhen receiving the device identification information such as the commandECh IDENTIFY DEVICE described in ACS-2 from the host 100 through the ATAinterface 90. The method of notifying whether or not the SSD 10 is aread only device may take various other forms.

The functions of the interface controller 30 and the various controllersincluded therein may all be mounted as hardware such as LSI, or may haveone part or all mounted as software such as firmware. The firmware issaved in the NAND memory 20 when the power supply of the SSD is turnedOFF, but is read out by the IPL 55 to the RAM 40 or the memorycontroller 50 at the startup of the power supply of the SSD when beingmounted as the firmware.

The RWIF controller 31 has a function of receiving the read request, thewrite request, and other requests and data from the host 100,transmitting the received requests and data to the memory controller 50,and transmitting the data to the RAM 40 by the control of the memorycontroller 50. The RWIF controller 31 also transmits identificationinformation that it is a readable and writable device to the host 100when receiving a transmission request for device identificationinformation from the host 100.

The ROIF controller 32 has a function of receiving the read request,other requests excluding the write request, and data from the host 100,transmitting the received requests and data to the memory controller 50,and transmitting the data to the RAM 40 by the control of the memorycontroller 50. The ROIF controller 21 also transmits deviceidentification information that it does not support write to the host100 when receiving a transmission request for device identificationinformation from the host 100. Thus, the host 100 recognizes that theSSD 10 does not support write, and hence the write request will not betransmitted from the host 100 to the SSD 10. When the write request istransmitted from the host 100 to the SSD 10 after transmitting thedevice identification information that it does not support write to thehost 100, the ROIF controller 32 may return an error to the host 100.The ROIF controller 32 carries out processes similar to the RWIFcontroller 31 with respect to the command that does not involve thewrite operation of the NAND memory 20.

The IPL 55 is started when the power of the SSD 10 is turned ON andperforms the initialization process of the NAND memory 20, the RAM 40,the memory controller 50, and the interface controller 30. In this case,the IPL 55 reads out the management information of the NAND memory 20from the NAND memory 20 or the RAM 40. The IPL 55 determines whether ornot the read only mode shift condition is met based on the readmanagement information, that is, whether or not the SSD 10 is in a stateto be used in the normal operation mode or in a state to be used in theread only mode. If determined as the normal mode, as a result of thedetermination, the IPL 55 sets the selection switches 33, 34 to selectthe RWIF controller 31, and causes the ROIF controller 32 to be in anon-selected state. If determined that the SSD 10 is in a state to beused in the read only mode based on the read management information, theIPL 55 sets the selection switches 33, 34 to select the ROIF controller32, and causes the RWIF controller 31 to be in a non-selected state. Theread only mode shift condition will be described in detail later.

The memory controller 50 desirably determines whether or not the readonly mode shift condition for shifting to the read only mode state ismet even while the SSD 10 is operating in the normal readable/writablestate, and executes the read only mode shift process, to be describedlater, when the read only mode shift condition is met while the SSD 10is operating in the normal state. The interface controller 30consequently switches to the ROIF controller 32 according to the readonly mode shift process.

The configuration of the host 100 will now be described. The host 100includes an operating system (OS) 150, an SSD control tool 110, and aninterface driver 120 for the SSD 10. The interface driver 120 includes aread/write mode interface driver (hereinafter abbreviated as RWIFdriver) 121 such as the ATA driver used when the SSD 10 is in the normaloperation mode in which read/write are enabled, a read only modeinterface driver (hereinafter abbreviated as ROIF driver) 122 such asthe read only driver of the ATAPI driver used when the SSD 10 is in theread only mode, and selection switches 123, 124 for selecting the driverto be applied on the SSD 10 by the RWIF driver 121 and the ROIF driver122. The SSD control tool 110 can select the driver to be applied on theSSD 10 from either one of the RWIF driver 121 or the ROIF driver 122 ormay have both drivers in the non-selected state through the selectionswitches 123, 124. The software 140 is software other than the SSDcontrol tool 110, and is software that uses the SSD 10.

As illustrated in FIG. 5 , the SSD control tool 110 is stored as the SSDcontrol tool 110A in the region of the NAND memory 20 of the SSD 10 whenthe power supply of the host 100 is turned OFF, but is loaded from theNAND memory 20 to main memory 202 at the startup of the host 100 or thestartup of the program. As illustrated in FIG. 6 , if a plurality ofexternal storage devices is connected to the host 100, the SSD controltool 110 may be stored in a region of the external storage device 300different from the SSD 10 as a SSD control tool 100B, and may be loadedfrom the external storage device 300 to the main memory 202 at thestartup of the host 100 or the startup of the program. In particular, ifthe external storage device 300 is used as a system drive for storingthe OS 150, and the SSD 10 is used as a data drive for storing user datasuch as documents, still image data, and moving image data, it isdesirable to store the SSD control tool 110 in the external storagedevice 300 serving as the system drive from the standpoint of clearlyseparating the roles of the drive 10 and the drive 300 such as using theexternal storage device 300 serving as the system drive as a drive formainly storing the OS and the application program and using the SSD 10serving as the data drive as a drive for storing the user data.

As illustrated in FIG. 5 and FIG. 6 , it is desirable for the computersystem 1 to be shipped with the SSD control tool 110 stored in the SSD10 or the external storage device 300, put on the shelves, and providedto the user from the standpoint of saving the effort of the user incarrying out the setup of the SSD control tool 110. From the standpointof enabling the user to select whether or not to install the SSD controltool and from the standpoint of providing the most recent SSD controltool to the user, the SSD control tool is desirably stored in the SSD 10or the external storage device 300 by being downloaded from the WEB orinstalled from an external storage medium such as a DVD-ROM, USB memory,or the like.

FIG. 7 illustrates one example of a case of downloading the SSD controltool from the WEB. In FIG. 7 , a SSD control tool 110C is stored in astorage medium 400 in a WEB server, and the SSD control tool 110C isdownloaded to the SSD 10 or the external storage device 300 through theLAN controller 208 or the like via a network such as the Internet, localnetwork, and wireless LAN.

FIG. 8 illustrates one example of a case of installing the SSD controltool from an optical medium such as a DVD-ROM or a CD-ROM. An SSDcontrol tool 110D is stored in the optical medium 500 such as theDVD-ROM or the CD-ROM, and the optical medium 500 is set in the opticaldrive 206, so that the SSD control tool 110D is installed in the SSD 10or the external storage device 300 through the optical drive 206.

FIG. 9 illustrates one example of a case of installing the SSD controltool from the USB memory. An SSD control tool 110E is stored in USBmemory 600, where the SSD control tool 110E is installed in the SSD 10or the external storage device 300 through the USB controller 209 byconnecting the USB memory 600 to the USB controller 209. Other externalmemories such as an SD card may, of course, be used instead of the USBmemory 600. The optical medium 500 and the USB memory 600 are desirablypackaged with the SSD 10 as accessories at the time of shipment of theSSD 10 from the standpoint of facilitated availability by the user. Theoptical medium 500 or the USB memory 600 may be sold alone as softwareproduct or may be attached as a supplement to magazines and books.

The selection switch 124 exclusively selects either one of the RWIFdriver 121 or the ROIF driver 122 and connects the same to the ATAinterface 90, and the selection switch 123 exclusively selects eitherone of the RWIF driver 121 or the ROIF driver 122 and connects the sameto the software 140. In the selection state of the RWIF driver 121, theselection switch 124 causes the ATA interface 90 and the RWIF driver 121to be in a connected state, and the switch 123 causes the software 140and the RWIF driver 121 to be in a connected state. In the selectionstate of the ROIF driver 122, the selection switch 124 causes the ATAinterface 90 and the ROIF driver 122 to be in a connected state, and theswitch 123 causes the software and the ROIF driver 122 to be in aconnected state.

FIG. 10 illustrates an outer appearance configuration of the computersystem 1. FIG. 10 illustrates a configuration of a general desk top typepersonal computer. The SSD 10 is physically connected to the motherboard130 through an SATA cable serving as the ATA interface 90, andelectrically connected to the CPU (not illustrated) attached on themotherboard 130 through the south bridge mounted on the motherboard 130.The SSD 10 is connected to a power supply circuit 132 through a powersupply cable 131. A display 133, a keyboard 134, a mouse 135, and thelike are connected to the motherboard 130. The computer system is notlimited to a desk top type, and is applicable to a laptop type of anotebook type personal computer.

FIG. 11 illustrates a system configuration example of the host 100mounted with the SSD 10. The host 100 includes a CPU 200, a north bridge201, main memory 202 such as DRAM, a display controller 203, a display133, a south bridge 205, an optical drive 205, BIOS-ROM 207, a LANcontroller 208, a USB controller 209, a keyboard 134, a mouse 135, andthe like.

The CPU 200 is a processor arranged to control the operation of thecomputer system, and executes the operating system (OS) loaded from theSSD 10 to the main memory 202. Furthermore, when the optical drive 206enables the execution of at least one process of the read process andthe write process with respect to the loaded optical disc, the CPU 200executes such processes.

The CPU 200 also executes system BIOS (Basic Input Output System) storedin the BIOS-ROM 207. The system BIOS is a program for hardware controlin the computer system.

The north bridge 201 is a bridge device connected to the local bus ofthe CPU 200. The north bridge 201 incorporates a memory controller foraccess controlling the main memory 202. The north bridge 201 also has afunction of executing communication and the like with the displaycontroller 203.

The main memory 202 temporarily stores programs and data, and functionsas a work area of the CPU 200. The main memory 202 is configured by DRAMand the like.

The video controller 203 is a video reproduction controller forcontrolling the display 133 of the computer system.

The south bridge 205 is a bridge device connected to the local bus ofthe CPU 200. The south bridge 205 controls the SSD 10 or the storagedevice for storing various types of software and data through the ATAinterface 90.

In the computer system, the access to the SSD 10 is made in units oflogical sectors. The write command (write request), the read command(read request), the flash command, and the like are input to the SSD 10through the ATA interface 90.

The south bridge 205 also has a function for access controlling theBIOS-ROM 207, the optical drive 206, the LAN controller 208, and the USBcontroller 209. The keyboard 134 and the mouse 135 are connected to theUSB controller 209.

In FIG. 11 , the OS 150, the SSD control tool 110, the interface driver120 including the RWIF driver 121, the ROIF driver 122 and the like, andthe software 140 are saved in the SSD 10 when the power supply of thecomputer system is turned OFF, and loaded from the SSD 10 to the mainmemory 202 when the power supply of the host is turned ON or when suchfunctions are called out. The interface driver 120 loaded on the mainmemory 202 is read to the CPU 200 through the north bridge 201, and theCPU 200 performs the control of the SSD 10 through the south bridge 205based on the information of the read interface driver.

FIG. 12 illustrates a hierarchical structure of various types ofelements of the computer system. The SSD control tool 110 and thesoftware 140 normally do not directly communicate with the SSD 10, andcommunicate with the SSD 10 through the OS 150 and the interface driver120. If a need for the SSD control tool 110 and the software 140 totransmit a command such as the read request and the write request to theSSD 10 arises, the SSD control tool 110 and the software 140 transmitthe access request in units of files to the OS 150. The OS 150references the file management table or metadata included in the OS 150,specifies the logical address (LBA) of the SSD 10 corresponding to thefile to which the access request is made, and transmits the commandincluding the corresponding LBA to the interface driver 120. Theinterface driver 120 converts the command from the OS 150 to a commandunique to the relevant interface, and transmits the same to the SSD.

If a response is returned from the SSD 10, the interface driver 120converts the response unique to the relevant interface to the command ofthe OS 150, and transmits the same to the OS 150. The OS 150 specifiesto which response on which software the response after the conversioncorresponds, and returns the response to the specified software.

The SSD control tool 110 can directly access the interface driver 120without interposing the OS 150. The SSD control tool 110 can exclusivelyselect which of the RWIF driver 121 or the ROIF driver 122 of theinterface driver is valid by directly accessing the interface driver. Ifthe RWIF driver 121 is valid, the RWIF driver 121 relays the OS 150 andthe SSD 10, and the ROIF driver 122 does not perform anything. If theROIF driver 122 is valid, the ROIF driver 122 relays the OS 150 and theSSD 10, and the RWIF driver 121 does not perform anything. The SSDcontrol tool 110 may alternatively select the RWIF driver 121 and theROIF driver 122 through the OS 150.

The SSD control tool 110 acquires the device identification informationof the SSD from the SSD 110 at the time of startup of the host or at thetime of the SSD connection. Whether the SSD 10 is a readable andwritable device or a write non-supporting device is determined based onthe device identification information, and the switching setting of theinterface driver 120 is carried out based on the determination result.The RWIF driver 121 is made valid if determined that the SSD 10 is thereadable and writable device, and the ROIF driver 122 is made valid ifdetermined that the SSD 10 is the write non-supporting device. The SSDcontrol tool 110 determines that the SSD 10 switched to the read onlymode if the response from the SSD 10 with respect to the write requestis an error, and restarts the SSD 10 and switches the interface driver120 from the RWIF driver 121 to the ROIF driver 122.

The ROIF driver 122 is desirably configured to not transmit the writecommand with respect to the SSD 10 at all from the standpoint ofpreventing the loss of user data caused by data breakage or damage ofthe SSD 10. However, if there is a need to write the data of one partsuch as the system information of the operating system in the SSD 10,the ROIF driver 122 may permit the write of the relevant data to the SSD10 as an exception but the data amount of the relevant data is desirablysufficiently small compared with the capacity of the NAND memory 20.More desirably, in order to prevent the user from transmitting the writecommand by mistake and writing the data to the SSD 10, the ROIF driver122 does not transmit the normal write command with respect to the SSD10 at all such as 35 h WRITE DMA EXT and 61h WRITE FPDMA QUEUEDdescribed in ACS-2, and the write with respect to the SSD 10 isdesirably permitted by only the command using a special command such asthe SCT Command Transport described in INCITS ACS-2 and other commandsunique to the vendor if there is an exceptional need to write the datato the SSD 10. If the write using a special command can be exceptionallycarried out even at the time of the application of the ROIF driver 122(time of RO mode), the memory controller 50 and the ROIF controller 32need to be configured to receive the special command from the host 100and perform the data write process normally even if the SSD 10 is the ROmode.

FIG. 13 illustrates a configuration of management information used inthe SSD 10. The management information is stored in a non-volatilemanner in the NAND memory 20, as described above. The managementinformation stored in the NAND memory 20 is extracted in the RAM 40 atthe startup of the SSD 10 for use. The management information on the RAM40 is evacuated and saved in the NAND memory 20 periodically or at thetime of power disconnection. If the RAM 40 is nonvolatile RAM such asMRAM or FeRAM, the management information may be stored only in the RAM40, in which case the management information is not stored in the NANDmemory 20.

As illustrated in FIG. 13 , the management information includes a freeblock table 21, a bad block table 22, an active block table 23, anactive page table 24, a read only (RO) mode flag 25, and statisticalinformation 26.

-   -   The free block table (FB table) 21 manages the ID of the        physical block (free block: FB) of the NAND memory that can be        newly assigned for write when carrying out write to the NAND        memory 20. The FB table also manages the number of times of        erasing for every physical block ID.    -   The bad block table (BB table) 22 manages the ID of the bad        block (BB) serving as a physical block that cannot be used as a        storage region due to too much error etc.    -   The active block table (AB table) 23 manages the active block        (AB) or the physical block assigned with application. In the AB        table 23, the correspondence relationship of the LBA and the ID        of the active block (AB) is managed. The number of times of        erasing is also managed for every physical block ID.    -   The active page table (AP table) 24 manages the correspondence        relationship of the LBA and the physical block ID and the        physical page ID assigned with application.    -   The RO mode flag 25 is written with 0 at the time of shipment        and at normal times, and is written with 1 when the SSD operates        as the RO mode.    -   The statistical information 26 stores various parameters (X01 to        X24) related to the reliability of the SSD 10.

The statistical information includes total number of bad blocks(statistical information X01), total number of times of erasing(statistical information X02), average value of number of times oferasing (statistical information X03), cumulative value of number oftimes of write error occurrences of the NAND memory (statisticalinformation X04), cumulative value of number of times of erase erroroccurrences of the NAND memory (statistical information X05), totalnumber of readout logical sectors (statistical information X06), totalnumber of write logical sectors (statistical information X07), totalnumber of uncorrectable ECC error count (statistical information X08),total number of n bits to m bits ECC correction units (statisticalinformation X09), number of times of R error occurrences of SATAcommunication (statistical information X10), number of times of erroroccurrences of SATA communication (statistical information X11), numberof times of error occurrences of RAM 40 (statistical information X12),total number of used time of SSD 10 (statistical information X13), timetotal in which temperature is higher than highest value of recommendedoperation temperature (statistical information X14), time total in whichtemperature is lower than lowest value of recommended operationtemperature (statistical information X15), maximum value of responsetime of command (statistical information X16), average value of responsetime of command (statistical information X17), maximum value of responsetime of NAND memory (statistical information X18), average value ofresponse time of NAND memory (statistical information X19), currenttemperature (statistical information X20), highest temperature(statistical information X21), lowest temperature (statisticalinformation X22), increase rate of statistical information (statisticalinformation X23), NAND GC failure flag (statistical information X24),and the like.

The total number of bad blocks (statistical information X01) will bedescribed. The statistical information X01 is incremented by one everytime one physical block of the NAND memory 20 in the SSD 10 is added asthe bad block. The statistical information X01 is desirably reset tozero at the time of manufacturing (before test process) of the SSD 10,where the block in which error occurred in the test process or in whichthe inter-distribution voltage margin of the threshold valuedistribution is small is more desirably added to the bad block inadvance. The statistical information X01 may be directly calculated fromthe BB table 22 without being stored in the statistical information 26.The more the statistical information X01 increases, it shows that themore the reliability degrades.

The total number of times of erasing (statistical information X02) willbe described. The statistical information X02 indicates the cumulativevalue of the number of times of erasing of all the blocks of the NANDmemory 20 in the SSD 10. The statistical information X02 is incrementedby one every time one physical block of the NAND memory 20 of the SSD 10is erased. The statistical information X02 is desirably reset to zero atthe time of manufacturing (before test process) of the SSD 10. Thestatistical information X02 may be directly calculated from the FB table21, the BB table 22, and the AB table 23 without being stored in the SSDstatistical information 26. The more the statistical information X02increases, it shows that the more the reliability degrades.

The average value of number of times of erasing (statistical informationX03) will be described. The statistical information X03 indicates anaverage value per one block of the number of times of erasing of all theblocks of the NAND memory 20 in the SSD 10. The block of one part suchas the block storing the management information may be excluded from thetarget of counting of the statistical information X03. The statisticalinformation X03 is desirably reset to zero at the time of manufacturing(before test process) of the SSD 10. The statistical information X03 maybe directly calculated from the FB table 21, the BB table 22, and the ABtable 23 without being stored in the statistical information 26. Themore the statistical information X03 increases, it shows that the morethe reliability degrades.

The cumulative value of number of times of write error occurrences ofthe NAND memory (statistical information X04) will be described below.The statistical information X04 is added by one every time the writeerror occurs in units of one write in the NAND memory 20 of the SSD 10(may be added in units of blocks). The statistical information X04 isdesirably reset to zero at the time of manufacturing (before testprocess) of the SSD 10. The more the statistical information X04increases, it shows that the more the reliability degrades.

The cumulative value of number of times of erase error occurrences ofthe NAND memory (statistical information X05) will be described. Thestatistical information X05 is desirably reset to zero at the time ofmanufacturing (before test process) of the SSD 10. The statisticalinformation X05 is added by one every time the erase error occurs in oneblock in the NAND memory 20 of the SSD 10. With a plurality of blockscollectively assumed as an erase unit, the statistical information X05may be added by one every time the erase error occurs in one such eraseunit. The more the statistical information X05 increases, it shows thatthe more the reliability degrades.

The total number of read logical sectors (statistical information X06)will now be described. The statistical information X06 is the totalnumber of logical sectors of the data transmitted to the host device 100as read data by the interface controller 30. The statistical informationX06 is desirably reset to zero at the time of manufacturing (before testprocess) of the SSD 10. The more the statistical information X06increases, it shows that the more the reliability degrades.

The total number of write logical sectors (statistical information X07)will now be described. The statistical information X07 is the totalnumber of logical sectors of the data received from the host device 100as write data by the RWIF controller 31. The statistical information X07is desirably reset to zero at the time of manufacturing (before testprocess) of the SSD 10. The more the statistical information X07increases, it shows that the more the reliability degrades.

The total number of uncorrectable ECC error count (statisticalinformation X08) will now be described. The statistical information X08is incremented by one for every one readout unit when the error bitcannot be restored by the ECC correction carried out by the ECCcorrection circuit 58. When the memory controller 50 reads out the datafrom the NAND memory 20, the memory controller 50 transmits the readdata to the ECC correction circuit 58, and performs the ECC correctionif there is data error and transmits the corrected data to the hostthrough the interface controller 30. If the data error is not correctedby the ECC correction circuit 58, the memory controller counts up thestatistical information X08 or increments the statistical informationX08 with the amount of data error that cannot be corrected. Theestimated value of the number of error bits that cannot be errorcorrected may be added, or the number of blocks that cannot be errorcorrected may be added. The statistical information X08 is desirablyreset to zero at the time of manufacturing (before test process) of theSSD 10. The more the statistical information X08 increases, it showsthat the more the reliability degrades.

The total number of n bits to m bits ECC correction units (statisticalinformation X09) will be described. Here, n, m are natural numbers,where 0≤n≤m≤maximum correctable number of bits. When the ECC correctioncircuit 58 performs the ECC correction on the ECC correction unit (e.g.,physical page), if all error bits are normally restored and the restorednumber of error bits is greater than or equal to n and smaller than orequal to m, “total number of n bits to m bits ECC correction units “isadded by one for one ECC correction unit. In the case of a maximum of 64bits can be corrected for one correction unit by the ECC correction,eight parameters such as “total number of 1 bits to 8 bits ECCcorrection units “, “total number of 9 bits to 16 bits ECC correctionunits “, “total number of 17 bits to 24 bits ECC correction units “,“total number of 25 bits to 32 bits ECC correction units “, “totalnumber of 33 bits to 40 bits ECC correction units “, “total number of 41bits to 48 bits ECC correction units “, “total number of 49 bits to 56bits ECC correction units “, “total number of 57 bits to 64 bits ECCcorrection units “may be prepared, where one of the eight parameters isincremented by one (or may be incremented with corrected amount of dataerror) for the ECC correction of one ECC correction unit when the ECCcorrection is normally carried out. The statistical information X09 isdesirably reset to zero at the time of manufacturing (before testprocess) of the SSD 10. The more the statistical information X09increases, it shows that the more the reliability degrades.

The number of times of R error occurrences of SATA communication(statistical information X10) will be described. The statisticalinformation X10 is incremented by one every time the R error (ReceptionError, R_ERR) in the SATA standard occurs once. If some kind of errorsuch as CRC error exists in a frame transmitted and received between thehost and the SSD, it is counted as an R error. One of the counters ofthe Phy Event Counters of the SATA standard may be adopted for thestatistical information X10. The statistical information X10 isdesirably reset to zero at the time of manufacturing (before testprocess) of the SSD 10. The more the statistical information X10increases, it shows that the more the reliability degrades.

The number of times of error occurrences of SATA communication(statistical information X11) will be described. The statisticalinformation X1 is incremented by one every time other abnormalities(other than R error) in the SATA communication occur once. For instance,if the communication standard actually negotiated between the SSD 10 andthe host device 100 is a communication standard of lower speed thanGeneration 3 such as Generation 2 although the ATA interface 90, theinterface controller 30, and the memory controller 50 are designed asSATA Generation 3, it is assumed as an error in the SATA communication,and the statistical information X1 is incremented by one. Thestatistical information X1 is desirably reset to zero at the time ofmanufacturing (before test process) of the SSD 10. The more thestatistical information X11 increases, it shows that the more thereliability degrades.

The number of times of error occurrences of RAM 40 (statisticalinformation X12) will be described. For instance, if the ECC circuit orthe error detection circuit is mounted on the RAM 40, the statisticalinformation X12 is incremented by one when the memory controller 50receives from the RAM 40 a signal notifying that ECC correction cannotbe made or a signal notifying the error detection. The statisticalinformation X12 is desirably reset to zero at the time of manufacturing(before test process) of the SSD 10. The more the statisticalinformation X12 increases, it shows that the more the reliabilitydegrades.

The total number of used time of SSD 10 (statistical information X13)will be described. The memory controller 50 counts the clock or receivesthe time information from an internal clock circuit to increment theelapsed time while the power supply of the SSD 10 is turned ON.Alternatively, the memory controller 50 periodically may receive thetime information of the host device 100 from the host device 100, andthe difference in the time information may be incremented. Thestatistical information X13 is desirably reset to zero at the time ofmanufacturing (before test process) of the SSD 10. The more thestatistical information X13 increases, it shows that the more thereliability degrades.

The time total in which temperature is higher than highest value ofrecommended operation temperature (statistical information X14) will bedescribed. If a thermometer is mounted in the SSD 10 such as on thesubstrate of the SSD 10, in the memory controller 50, and the NANDmemory 20, the memory controller 50 periodically receives thetemperature information from the thermometer. If the receivedtemperature is higher than the recommended operation temperature (e.g.,100° C.), the memory controller 50 increments the time total operatingat higher than or equal to the recommended operation temperature basedon the time information acquired from the clock, the internal clock, orthe host device 100. The statistical information X14 is desirably resetto zero at the time of manufacturing (before test process) of the SSD10. The more the statistical information X14 increases, it shows thatthe more the reliability degrades.

The time total in which temperature is lower than lowest value ofrecommended operation temperature (statistical information X15) will bedescribed. If a thermometer is mounted in the SSD 10, the memorycontroller 50 periodically receives the temperature information from thethermometer. If the received temperature is lower than the recommendedoperation temperature (e.g., −40° C.), the memory controller 50increments the time total operating at higher than or equal to therecommended operation temperature based on the time information acquiredfrom the clock, the internal clock, or the host device 100. Thestatistical information X15 is desirably reset to zero at the time ofmanufacturing (before test process) of the SSD 10. The more thestatistical information X15 increases, it shows that the more thereliability degrades.

The maximum value of response time of command (statistical informationX16) will be described. The statistical information X16 is a maximumvalue of a time (or number of clocks) required from when receiving thecommand from the host device 100 until responding to the host device 100(or until the command execution is completed). If the response timegreater than X16 occurs, X16 is overwritten by such response time. Thestatistical information X16 may be held with respect to each command.The statistical information X16 is desirably reset to zero at the timeof manufacturing (before test process) of the SSD 10 or at the time ofthe SSD 10 shipment. The more the statistical information X16 increases,it shows that the more the reliability degrades. For instance, theresponse time of the command may be,

-   -   readout response time of SSD 10: time from when the SSD 10        receives the readout request from the host 100 until completing        the transmission of the read data to the host 100.    -   write response time of SSD 10: time from when the SSD 10        receives the write request from the host 100 until returning a        write complete notification to the host 100. Alternatively, a        time from when the SSD 10 receives the write request from the        host 100 until completing the reception of the write data by the        host 100.

The response time may be timed by counting the internal clock of thememory controller 50.

The average value of response time of command (statistical informationX17) will be described. The statistical information X17 is an averagevalue of a time (or number of clocks) required from when receiving thecommand from the host device 100 until responding to the host device 100(or until the command execution is completed). A constant number ofresponse time lists may be held in the RAM 40, and it may be obtained bycalculating the average value of the response time list. The statisticalinformation X17 may be held with respect to each command. Thestatistical information X17 is desirably reset to zero at the time ofmanufacturing (before test process) of the SSD 10 or at the time of theSSD 10 shipment. The more the statistical information X17 increases, itshows that the more the reliability degrades.

The maximum value of response time of NAND memory (statisticalinformation X18) will be described. The statistical information X18 is amaximum value of the time (or number of clocks) required until thememory controller 50 obtains the response (or receives command executioncomplete notification) after issuing a command to the NAND memory 20. Ifthe response time greater than the X18 occurs, X18 is overwritten bysuch response time. The statistical information X18 may be held withrespect to each command. The statistical information X18 is desirablyreset to zero at the time of manufacturing (before test process) of theSSD 10 or at the time of the SSD 10 shipment. The more the statisticalinformation X18 increases, it shows that the more the reliabilitydegrades. For instance, the response time of the NAND memory may be,

-   -   readout response time of NAND memory 20: time from when the        memory controller 50 issues the read request to the NAND memory        20 until the data readout from the NAND memory 20 is completed.    -   write response time of NAND memory 20: time from when the memory        controller 50 issues the write request to the NAND memory 20        until the data write to the NAND memory 20 is completed.    -   erase response time of NAND memory 20: time from when the memory        controller 50 issues the erase command to the NAND memory 20        until the erase of the NAND memory 20 is completed.

The response time may be timed by counting the internal clock of thememory controller 50.

The average value of response time of NAND memory (statisticalinformation X19) will be described. The statistical information X19 isan average value of a time (or number of clocks) required until thememory controller 50 obtains the response (or receives command executioncomplete notification) after issuing a command to the NAND memory 20. Aconstant number of response time lists may be held in the RAM 40, and itmay be obtained by calculating the average value of the response timelist. The statistical information X19 may be held with respect to eachcommand. The statistical information X19 is desirably reset to zero atthe time of manufacturing (before test process) of the SSD 10 or at thetime of the SSD 10 shipment. The more the statistical information X19increases, it shows that the more the reliability degrades.

The current temperature (statistical information X20) will be described.If a thermometer is mounted in the SSD 10, the memory controller 50periodically receives the temperature information from the thermometer.The memory controller 50 holds the temperature received last from thethermometer in the statistical information X20 as a current temperature.Determination is made that the reliability of the SSD 10 is adverselyaffected if such value is extremely high (e.g., higher than or equal to85° C.), and the reliability of the SSD 10 is adversely affected if thetemperature is extremely low (e.g., lower than or equal to −10° C.).

The highest temperature (statistical information X21) will be described.The memory controller 50 holds a maximum value of the currenttemperature X20 in the statistical information X21 as a highesttemperature. Determination is made that the reliability of the SSD 10 isadversely affected if such value is extremely high (e.g., higher than orequal to 85° C.). When receiving the current temperature higher than X21from the thermometer, the memory controller 50 rewrites the X21 to thecurrent temperature. The X21 is desirably reset to a temperature (e.g.,−40° C.) sufficiently small compared to the operation temperature of theSSD 10 at the time of manufacturing (before test process) of the SSD 10or at the time of the SSD 10 shipment. The more the statisticalinformation X21 increases, it shows that the more the reliabilitydegrades.

The lowest temperature (statistical information X22) will be described.The memory controller 50 holds a minimum value of the currenttemperature X20 in the statistical information X22 as a lowesttemperature. Determination is made that the reliability of the SSD 10 isadversely affected if such value is extremely small (e.g., higher thanor equal to −40° C.). When receiving the current temperature lower thanX22 from the thermometer, the memory controller 50 rewrites the X22 tothe current temperature. The X22 is desirably reset to a temperature(e.g., 120° C.) sufficiently large compared to the operation temperatureof the SSD 10 at the time of manufacturing (before test process) of theSSD 10 or at the time of the SSD 10 shipment. The more the statisticalinformation X22 decreases, it shows that the more the reliabilitydegrades.

The increase rate of statistical information (statistical informationX23) will be described. The non-recent information of the statisticalinformation X01 to X19 (e.g., values constant time before or when thepower of the SSD 10 is turned ON, values of when the power of the SSD 10is down the previous time, etc.) are separately held. The statisticalinformation X23 is defined as one of the followings.Increase rate of statistical information=(most recent statisticalinformation)−(old information)Increase rate of statistical information=((most recent statisticalinformation)−(old information))/(elapsed time from when acquiring theold information)Increase rate of statistical information=((most recent statisticalinformation)−(old information))/(number of NAND accesses from whenacquiring the old information)

It is desirably reset to zero at the time of manufacturing (before testprocess) of the SSD 10. The more the statistical information X23increases, it shows that the more the reliability degrades.

The NAND GC failure flag (statistical information X24) will bedescribed. If the statistical information X24 is 1, the sufficientnumber of free blocks for the operation cannot be ensured by the NANDgarbage collection (NAND GC). It is desirably reset to zero at the timeof manufacturing (before test process) of the SSD 10. The more thestatistical information X24 increases, it shows that the more thereliability degrades.

For the statistical information 26, all the parameters described abovemay be stored, or some or only one of the parameters may be stored. Thestatistical information 26 desirably holds the most recent informationon the RAM 40, and periodically takes a backup in the NAND memory 20. Itmay be saved only in either one of the RAM 40 or the NAND memory 20, orthe relevant statistical information may be transmitted to the hostdevice 100, and saved in the host device 100 or the storage deviceconnected to the host device 100.

The write operation in the SSD 10 will now be described using FIG. 14 .When the SSD 10 receives the write request from the host 100 (stepS100), the memory controller 50 searches the free block table 21 of theRAM 40 (step S101), and acquires the current number of free blocks. Thememory controller 50 performs the “NAND garbage collection” (“NAND GC”),to be described later, (step S120) if the number of free blocks is lessthan a predetermined threshold value (step S102), and newly obtains thefree block from the free block table 21 and acquires the physical ID ofthe obtained free block if the number of free blocks is greater than thepredetermine threshold value (step S102).

The memory controller 50 then performs the write operation to theacquired free block (step S103), adds the LBA, the physical block ID,and the number of times of erasing of the relevant physical blockreceived from the host 100 in the active block table 23, and also addsthe LBA, the physical block ID, and the physical page ID to the activepage table 24 (step S104), and removes the physical block subjected tothe write from the free block table 21 (step S105). The memorycontroller 50 reflects the content of the above write process in thestatistical information 26.

The operation example of the NAND GC (FIG. 14 : step S120) in the SSD 10will now be described using FIG. 15 . The page (valid page) registeredin the active page table 24 of all the pages contained in the physicalblock is corresponded to the LBA. Not all the pages contained in thephysical block may be valid pages, and the page not corresponding to thevalid page (invalid page) is not corresponded to the LBA. The valid pageis the page storing the most recent data, and the invalid page is thepage where the data of the same LBA is written in another place and thusis no longer referenced. The physical block has availability in data bythe amount of invalid pages, and hence the free block can be ensured byexecuting the NAND GC of collecting the data of the valid pages andrewriting to different blocks.

First, assume the row number i=0, and the cumulative number of freespaces S=0 (step S121). The memory controller 50 reads out the head row(i=0) of the active block table 23, and acquires the physical block ID(current physical block ID) of the head row (step S122). The active pagetable 24 is then read out, and all the IDs of the valid pagescorresponding to the current physical block ID in the active page table24 are acquired (step S123). The memory controller 50 subtracts the sizefor the number of acquired valid page IDs from the size of the physicalblock to obtain the size v of the invalid page of the current physicalblocks (step S124), where the current physical block is added to theNAND GC target block list (step S127) if v>0 (step S125). Furthermore,the memory controller 50 adds the size v of the invalid page of thecurrent physical block to the cumulative number of free spaces S andupdates the cumulative number of free spaces S (step S128).

If v=0 in step 3125, or if the cumulative number of free spaces S hasnot reached the physical block size in step S125, the memory controller50 increments the column number i to 1 (step S126), reads out the nextrow (i=1) of the active block table 23, and acquires the physical blockID (current physical block ID) of the next row (step S122). Thereafter,the procedures of steps 3123 to S128 are similarly executed. Theprocedures of steps 3122 to S129 are similarly repeated until thecumulative number of free spaces S reaches the physical block size instep S129.

If the total amount of size S of the invalid pages acquired up to nowbecomes greater than the size of the physical block in step S129, thememory controller 50 reads out the data of all the valid pages on theNAND GC target block list from the NAND memory 20 and writes the same inthe RAM 40 (step S130), and also performs the erase process on all thephysical blocks on the NAND GC target block list (step S131), removesall the physical blocks subjected to the erase process from the activeblock table 23 and adds the same to the free block table 21 (in thiscase, number of times of erasing is incremented), and removes all thepages that are read out from the active page table 24 (step S132). Thememory controller 50 then acquires the new free block from the freeblock table 21, writes the data written to the RAM 40 into the acquiredfree block (step S133), adds the physical block ID of the free block inwhich the data is written, the corresponding LBA and the number of timesof erasing of the relevant block to the active block table 23, adds thepage ID in which the data is written and the corresponding LBA to theactive page table 24 (step S134), and removes the block ID of the blockin which the data is written from the free block table 21 (step S135).The memory controller 50 reflects the processing content of the NAND GCon the statistical information 26. The erase process of step S131 doesalways not have to be carried out in the NAND GC of the step S120, andmay be carried out immediately before the write operation of step S103and increment the number of times of erasing.

A sufficient number of free blocks can be usually ensured with respectto the write by such NAND GC. If a sufficient number of free blockscannot be ensured with respect to the write even by the NAND GC (stepS136), the “RO mode shift process”, to be described later, is carriedout (step S137).

The NAND GC is not limited to being executed when receiving the writerequest from the host 100, and may be executed when a predetermined timehas elapsed from when receiving the command the last from the host orwhen receiving a command for shifting to the standby or idle state fromthe host 100.

The readout process in the SSD 10 will now be described using FIG. 16 .When the SSD 10 receives the read request from the host 100 (step S140),the memory controller 50 searches the active block table 23 (step S141),and investigates whether or not the physical block ID corresponding tothe LBA received from the host 100 exists in the active block table 23(step S142). If the physical block ID exists in the active block table23, the memory controller 50 acquires the physical page ID contained inthe physical block ID of the active page table 24 (step S144), reads outthe data from the physical page corresponding to the acquired physicalpage ID (step S145), and transmits the read data to the host 100 throughthe RAM 40 (step S146). The memory controller 50 reflects the content ofthe above readout process on the statistical information 26.

If the physical block ID corresponding to the LBA received from the host100 does not exist on the active block table 23 in step S142, the memorycontroller 50 may transmit the data in which all the bits are ‘0’ to thehost 100 by the data length corresponding to the request from the host100 without performing the readout operation from the NAND memory 20(step S143).

The error process in the SSD 10 will now be described using FIG. 17 .The processes with respect to the write request and the read requestfrom the host 100 are usually carried out in the above manner, but awrite error may occur in the write operation (program operation) to theNAND memory 20, an erase error may occur in the erase operation withrespect to the NAND memory 20, an uncorrectable ECC (Error CorrectingCode) error (failure in error correcting process) may occur in thereadout operation with respect to the NAND memory 20, and the like, inwhich case an exceptional process therefor becomes necessary.

The memory controller 50 adds the physical block in which the erroroccurred to the bad block table 22 (Step S151) when one of the aboveerror occurred (step S150), and removes the physical block in which theerror occurred from the active block table 23 and the free block table21 (step S152), so that the physical block in which the error occurredis not accessed thereafter. In this case, the data of the physical blockin which the error occurred may be copied to a different physical block.The memory controller 50 reflects the content of the error process onthe statistical information 26. One example of such error process hasbeen introduced in the description of the readout process, the writeprocess, and the NAND GC process, but the error process is not limitedto such examples, and it should be recognized that it can be appliedwith respect to all the readout process, the write process, the eraseprocess, and other kind of operations on the NAND memory 20.

The reliability of each block of the NAND memory 20 degrades, the numberof bad blocks increases, and the sum of the number of free blocks andthe number of active blocks decreases through the use of the SSD 10.Furthermore, if the SSD 10 is used, the number of free blocks sufficientto perform the write process cannot be ensured even if the NAND GC isperformed, which is the lifespan of the SSD 10. In such a case,determination is made that the RO mode shift condition is met and the ROmode shift process is carried out.

The RO mode shift process in the SSD 10 will now be described using FIG.18 . While the SSD 10 is operating, the memory controller 50 determineswhether or not the RO mode shift condition is met by monitoring thestatistical information 26 (step S160). RMAX serving as criteria of theRO mode shift may be RMAX=upper limit value of a value of statisticalinformation that guarantees reliability.

The RMAX may adopt different values for each statistical information X01to X19, X23, X24. As illustrated in FIG. 19 , the RMAX derives therelationship of the raw value (raw data) of the statistical informationand the defect rate of the SSD 10 at the development stage, anddesirably adopts the raw data of the statistical information of when thedefect rate exceeds an acceptable value (e.g., 100 ppm) for the RMAX.For the defect rate, other defect rates such as the defect rate of thedata written to the SSD 10, the defect rate of the NAND memory 20, orthe defect rate of the memory cell of the NAND memory 20 may be adoptedinstead of the defect rate of the SSD 10. For instance, at thedevelopment stage of the SSD 10, a wear test of verifying whether thewritten data is correctly stored continuously for a constant time orlonger is carried out while repeating the write operation at hightemperature with respect to a great number (e.g., 100) of test SSD 10groups, and at the same time, the statistical information is continuedto be monitored and the raw data of the statistical information at thetime point the defect rate reaches a constant percentage may be adoptedfor the RMAX. For instance, if the data (e.g., random data) is writtenwith the high temperature state (e.g., 75° C.) as an initial conditionwith respect to the entire region of the LBA of the worn SSD 10, leftuntouched for a certain time or longer in the high temperature state(e.g., 85° C.), and thereafter, the temperature of the SSD 10 is lowered(e.g., 25° C.) and the readout operation is carried out on the entireregion of the LBA of the SSD 10 and the read data is not ECC correctable(or if there is a constant number of more data that is not ECCcorrectable, or if the read data and the data written in the initialcondition do not match or cannot be read out), this is defined as thedefect of the SSD 10, and a value obtained by dividing the number ofdefected SSD 10 by the number of SSD 10 performed with the test isadopted for the defect rate. The raw data of the statistical informationin which such defect rate is statistically and significantly lower thanthe acceptable defect rate may be adopted for the RMAX. A margin of acertain extent may be given to the RMAX, and RMAX′ obtained byRMAX′=RMAX−marginmay be adopted for the RMAX.

The RMAX may be obtained by the design simulation at the time of thedevelopment. For instance, the value of the statistical information inwhich the defect rate such as the defect rate of the SSD 10 becomesgreater than or equal to a constant value may be obtained by the designsimulation, and such value may be adopted for the RMAX.

As illustrated in FIG. 20 , for the RMAX, the value of the statisticalinformation in which the performance (readout performance, writeperformance, etc.) of the SSD 10 becomes smaller than or equal to apredetermined value may be specified by measurement or simulation of theSSD 10, and this may be adopted for the RMAX. For instance, since theprobability the data read from the memory cell of the NAND memory iswrong increases as the reliability of the NAND memory degrades, the timerequired for the ECC correction at the time of the data readoutincreases, and there is a possibility of a strong correlation betweenthe reliability of the SSD 10 and the readout performance of the SSD 10.For instance, the following performance measurement is carried out forthe measurement of a sequential readout performance.

1. F4h SECURITY ERASE UNIT (Normal Erase) of ACS-2 is carried out withrespect to the SSD 10.

2. Data (e.g., random data) is sequentially written onto the entireregion of the LBA of the SSD 10.

3. The readout is sequentially carried out on all the LBA, and theaverage value of the read amount of data (unit MiB/s) is obtained perunit time (readout speed). The measurement may be carried out accordingto the standard described in non-patent document (SNIA, Solid StateStorage Performance Test Specification Version 0.9 http://www.snia.org/)for the measurement of the performance information (e.g., performancespeed).

As illustrated in FIG. 20 , the statistical information dependency ofthe performance information is obtained, for instance, when thesequential readout speed expected value at the time of shipment of theSSD 10 is 400 MiB/s and the lowest performance that can be allowed bythe standard of the publicized specification is 300 MiB, the value ofthe statistical information in which the readout speed expected valuebecomes 300 MiB is obtained and is adopted for the RMAX.

Thus, the RMAX can be arbitrarily defined by the developer, and can alsobe defined by methods and references other than the above.

The memory controller 50 compares the RMAX and the value of thestatistical information (one of X01 to X19, X23, X24), and determinesthat the SSD 10 reached the end of the lifespan and the mode is to beshifted to the RO mode (step 3160: Yes) when value of statisticalinformation>RMAX or value of statistical information>RMAX. For instance,in the case of the NAND GC failure flag (statistical information X24),determination is made that the SSD 10 reached the end of the lifespanand the mode is to be shifted to the ROM mode when it is 1. In the caseof the total number of bad blocks (statistical information X01),determination is made that the SSD 10 reached the end of the lifespanand the mode is to be shifted to the ROM mode when it becomes greaterthan a predetermined value.

The memory controller 50 compares each a plurality of the values of thestatistical information (one of X01 to X19, X23, X24) with the RMAX anddetermines to shift to the ROM mode when one of them is greater than orequal to RMAX.

The memory controller 50 determines whether or not the SSD 10 reachedthe end of the lifespan (whether or not SSD 10 is in abnormal state) inthe above manner, and performs the RO mode shift process, to bedescribed later, (step S160: Yes) when determined that the SSD 10reached the end of the lifespan (when determined that SSD 10 is inabnormal state).

When adopting the current temperature X20 and the highest temperatureX21 for the statistical information such as adopting RMAX=85° C. for theRMAX, determination is made that the SSD 10 is in an abnormal state andto be shift to the RO mode at the temperature outside the guarantee ofthe operation such as value of statistical information>RMAX or value ofstatistical information≥RMAX (step S160: Yes), and thereafter,determination is desirably made to shift from the RO mode to the normalmode since the SSD 10 returned to the normal state when returned to thenormal temperature with value of statistical information≤RMAX−MAX marginor value of statistical information<RMAX−MAX margin (step S160: No). TheMAX margin is a value greater than or equal to zero, but MAX margin isdesirably a value greater than zero to prevent the switching of the ROmode and the normal mode from frequently occurring (e.g., MAX margin=5°C.).

The statistical information may take various modes other than thestatistical information X01 to X19, X23, X24 introduced in the presentembodiment, but the present invention is also applicable thereto. Apositive correlation exists in a relationship of the X01 to X19, X23,and X24 and the defect rate, but the present invention is alsoapplicable to the statistical information in which a negativecorrelation exists with the defect rate (e.g., lowest temperatureexperienced by the SSD 10 after shipment, etc.). In this case, the lowerlimit value RMIN that can guarantee reliability is adopted in place ofthe RMAX, where determination is made that the SSD 10 reached the end ofthe lifespan when the statistical information becomes smaller than RMINand shift is made to the RO mode.

In particular, when adopting the current temperature X20 and the lowesttemperature X22 for the statistical information such as adoptingRMIN=−10° C. for the RMIN, determination is made that the SSD 10 is inan abnormal state and to be shifted to the RO mode at the temperatureoutside the guarantee of the operation such as value of statisticalinformation<RMIN or value of statistical information S RMIN (step S160:Yes), and thereafter, determination is desirably made to shift from theRO mode to the normal mode since the SSD 10 returned to the normal statewhen returned to the normal temperature with value of statisticalinformation≥RMIN+MIN margin or value of statistical information>RMIN+MAXmargin (step S160: No) The MIN margin is a value greater than or equalto zero, but MIN margin is desirably a value greater than zero toprevent the switching of the RO mode and the normal mode from frequentlyoccurring (e.g., MIN margin=5° C.).

The RO mode shift process is desirably carried out even if the SSD 10has not reached the end of the lifespan when the statistical informationbecomes greater than the predefined RMAX or shows an abnormal value thatis not possible in the normal operation.

When the RO mode shift condition is met (step S160: Yes), the followingRO mode shift process is started. First, the memory controller 50desirably cancels all the write processes on the NAND memory 20currently being performed (step S161), returns an error with respect toall the write requests received from the host 100, and deletes all thequeues of the write request received from the host 100 (step S162). Thememory controller 50 then writes 1 to the RO mode flag 25 in themanagement information of the NAND memory 20 (step S163). In this case,all the tables other than the RO mode flag 25 of the managementinformation of the RAM 40 may be reflected on the management informationof the NAND memory. The SSD 10 thereafter returns an error to all thewrite requests received from the host 100 until the power is cut off orreset (steps S164, S165).

The startup process of the SSD 10 will now be described using FIG. 21 .When the SSD 10 is started, the IPL 55 reads out the RO mode flag 25 inthe management information of the NAND memory 20 (step 3170), anddiscriminates the RO mode flag 25 (step 3171). If the RO mode flag 25 is0 (step S171), the IPL 55 validates the RWIF controller 31 of theinterface controller 30 (step S172) to be in the normal mode, and thenreads out the management information of the NAND memory 20 to the RAM 40(step 3173).

If the RO mode flag 25 is 1, the IPL 55 validates the ROIF controller 32to be in the RO mode (step S174), and then reads out the managementinformation of the NAND memory 20 on the RAM 40 (step S175). In the ROmode, the SSD 10 acts as a read only device that does not support thewrite. After the shift to the RO mode, the SSD 10 merely needs to carryout only the read operation of the read operation and the writeoperation, and hence the information of the management table may berearranged such that the speed of the readout operation becomes faster.

The operation on the host 100 side will now be described. First, theoperation at the time of startup of the host 100 will be described usingFIG. 22 . When the host 100 is started, the host 100 starts the SSDcontrol tool 110 (step S201). If the OS 150 is Windows (registeredtrademark), the SSD control tool 110 is desirably startup registered orservice program registered so that the SSD control tool 110 is set as aresident program at the time of the startup, and the SSD control tool110 can be automatically started. The system disc used in the startup ofthe host 100 may be the SSD 10, the SSD or a hard disc drive (HDD)prepared separate from the SSD 10 in which the system is installed inadvance, or the DVD-ROM, the CD-ROM, or the USB memory in which the bootprogram is installed.

When the SSD control tool 110 is started, the SSD control tool transmitsa transmission request of the device information to the SSD 100 toacquire the device information of the SSD 10. As described above, if theRWIF controller 31 is valid in the SSD 10, the SSD control tool 110recognizes the that SSD 10 is the ATA device through the LBA(7:0) andLBA(15:8) in the Device Signature described in ACS-2, and the RWIFcontroller 31 transmits identification information that it is a readableand writable device to the host 100 when receiving a transmissionrequest of the device identification information such as the EChIDENTIFY DEVICE or the like described in ACS-2 from the host 100. If theROIF controller 32 is valid in the SSD 10, the SSD control tool 110recognizes that the SSD 10 is the ATAPI device through the LBA(7:0) andLBA(15:8) in the Device Signature described in ACS-2, and the ROIFcontroller 32 transmits device identification information that it doesnot support write when receiving a transmission request of the deviceidentification information such as the 46h GET CONFIGURATION or the likedescribed in IMC-6 from the host 100. Therefore, the SSD control tool110 acquires the device identification information from the SSD 10 insuch manner (step S202). The method of notifying whether or not the SSD10 is a read only device may take various forms other than the above.

If the information returned from the SSD 10 is the write non-supportingdevice (step S203), the SSD control tool 110 switches and sets theselection switches 123, 124 to invalidate the RWIF driver 121 (stepS206) and validate the ROIF driver 122 (step S207) to operate the SSD 10in the RO mode. If the information returned from the SSD 10 is not thewrite non-supporting device (step S203), the SSD control tool 110switches and sets the selection switches 123, 124 to invalidate the ROIFdriver 122 (step S204) and validate the RWIF driver 121 (step S205) tooperate the SSD 10 in the normal mode.

The operation of the SSD control tool 110 while the host 100 isoperating will now be illustrated using FIG. 23 . In order to rapidlydetect that the SSD 10 shifted to the RO mode, the SSD control tool 110desirably continues to monitor the response from the SSD 10 with respectto the write request from the host 100 if the SSD 10 is in the normalmode (step S210). If the SSD 10 is in the RO mode, the write request isnot transmitted to the SSD 10, and hence the SSD control tool 110 maynot monitor the response of the SSD 10.

If an error is returned with respect to the write request transmitted tothe SSD 10 in the normal mode (may be error of one time or may be anerror of plural times), the SSD control tool 110 determines as a statein which the SSD 10 started the RO mode shift process illustrated inFIG. 18 and returned an error with respect to all the write requests,and invalidates the RWIF driver 121 (step S211). The SSD control tool110 desirably re-start the SSD 10 by sending a reset command to the SSD10 and the like (step S212) using the COMPRESET of the SATA standard,the command unique to the vendor of SCT Command Transport described inACS-2, and the other command unique to the vendor, from the standpointof rapidly recognizing the SSD 10 as the write only device. Suchre-start process of the re-start of the computer system 1 by the user iscarried out by OFF/ON of power supply of the SSD 10, and the SSD 10shifts to the RO mode by performing the process illustrated in FIG. 21 .The SSD control tool 110 validates the ROIF driver 122 (step S213).

Therefore, the host 100 can reliably perform the readout process withrespect to the SSD 10 without mistakenly recognizing the SSD 10 as thenon-available external storage device while the SSD 10 is immediatelyafter the start of the RO mode shift process and the during the RO mode.

FIG. 24 illustrates the example of the drive display of when the Windows(registered trademark) is used for the OS in the host 100, and assumesthat the SSD is connected for the drive D. If the SSD is in a normalreadable and writable state, the type of drive D is displayed as “localdisc”, as illustrated in FIG. 24(a). However, after the SSD control tool110 recognizes that the drive D is the write non-supporting device bythe processes of FIG. 22 and FIG. 23 , the type of the drive D isdisplayed as “CD-ROM”, “DVD-ROM”, or “ROM drive”, as illustrated in FIG.24(b).

In the above description, the statistical information X01 to X19, X23,X24 are adopted for the statistical information used in the RO modeshift condition in FIG. 18 in the SSD 10, but other statisticalinformation may be used to determine whether the RO mode shift conditionis met.

For instance, if a management unit called a cluster described in U.S.Patent Application Publication No. 2009 0222617 is introduced in the SSD10, the number of bad clusters may be adopted for the RO mode shiftcondition. The cluster size is a natural number multiples of two orgreater of the sector size, and the cluster address is configured by ahigher bit sequence from a predetermined bit of the LBA. In the SSD 10,a bad cluster table for managing the cluster address (cluster ID) of thebad cluster is held as the management information. When the ECCcorrection error occurs in the ECC process by the ECC correction circuit58 when readout is carried out from the NAND memory 20, the memorycontroller 50 may register the cluster in which the ECC correction erroroccurred in the bad cluster table. The number of bad clusters can beacquired based on the registered content of the bad cluster table.Therefore, if the SSD 10 is operating in the normal mode, the memorycontroller 50 acquires the current number of bad clusters based on thenumber of entries of the bad cluster table in the management informationstored in the RAM 40, compares the acquired number of bad clusters witha threshold value, and determines that the RO mode shift condition ismet when the number of bad clusters is greater than or equal to thethreshold value.

In the flowcharts of FIG. 18 and FIG. 21 , whether the read only modeshift condition is met is determined at the startup of the SSD byinterposing the RO mode flag 25 in the SSD 10, but whether or not toshift to the read only mode may be determined by directly determiningwhether or not at least one of various types of management informationused in the RO mode shift condition meets the RO mode shift condition atthe time of startup instead of using the RO mode flag 25.

A variant of the process of the SSD control tool 110 mounted on the host100 will now be described. For instance, the operation procedureillustrated in FIG. 25 may be adopted in place of the operationprocedure illustrated in FIG. 23 . In FIG. 25 , when the SSD 10 isoperating in the normal mode, the SSD control tool 110 issues a commandfor periodically acquiring the statistical information of the SSD 10 tothe SSD 10 (step S220). This command may be SMART READ DATA(B0h(D0h)) ora command of S.M.A.R.T(Self-Monitoring Analysis and ReportingTechnology), which is a self-diagnostic function of the memory, SCTCommand Transport described in ACS-2, or a command unique to the vendor.In the SSD 10 that received the information of the S.M.A.R.T, the memorycontroller 50 acquires one of, one part of, or all of the statisticalinformation X01 to X19, X23, X24 and returns the acquired statisticalinformation to the host 100. The SSD control tool 110 acquires thestatistical information by receiving the statistical informationreturned from the SSD 10 (step S221).

FIG. 26 illustrates a management table regarding the statisticalinformation X01 to X19, X23, X24. For instance, as illustrated in FIG.26 , when using B0h/D0h SMART READ DATA, an attribute ID is assignedwith respect to each of the constituent elements (X01 to X19, X23, X24,etc.) of the statistical information but the attribute ID may, ofcourse, be assigned only to some of the constituent elements. Withregards to the constituent element of the statistical information 26,SMAB is adopted as a best value after standardization, and SMAL definedsuch as: SMAL=SMAB*AMALR (0≤AMALR<1) (SMAL is an integer, and isconverted to an integer from a decimal by either rounding, rounding upafter the decimal point or rounding up after the decimal point) isadopted for the reliability guaranteeing lower limit value afterstandardization. Attribute value is defined as:attribute value=SMAL+SMAB×(1−AMALR)×(RMAX−raw data)/RMAXattribute Threshold=30 (fixed value)(raw data)=raw data of statistical informationso that the memory controller 50 calculates the attribute value (“Value”in FIG. 26 ) of the S.M.A.R.T information and transmits the same to theSSD control tool 110. The attribute Threshold is “Threshold” in FIG. 26, and the raw data is “Raw Data” in FIG. 26 .

The best value SMAB after the standardization merely needs to be anarbitrary natural number, and SMAB=100 may be adopted. The AMALR merelyneeds to be an arbitrary number that meets 0≤AMALR<1, and AMALR=0.3 maybe adopted. Furthermore, the AMALR and the SMAB can adopt differentvalues with respect to each X01 to X19, X23, X24. If SMAB=100 andAMALR=0.3, the best value of the attribute value is 100 (e.g., 100immediately after shipment) with respect to the statistical informationto be adopted and gradually decreases as the reliability degrades, wherethe attribute value 30 reaches a value smaller than or equal to 30 whenthe SSD can no longer guarantee reliability (when raw data ofstatistical information becomes greater than or equal to RMAX). BOh/DAhSMART RETURN STATUS, which is a command described in ACS-2, is used as ameans for detecting whether or not the attribute value exceeds theThreshold, and whether or not the Attribute Value exceeds the Thresholdvalue may be determined from the Output of the relevant command.

“Worst” of FIG. 26 may be adopted as the specification for the SSDcontrol tool 110 to diagnose the lifespan of the SSD 10. “Worst” iscalculated by the memory controller 50 as a worst value of the attributevalue. In the case of X01 to X19, X23, X24, Worst is a minimum value ofthe attribute value after the shipment (or after manufacturing) of theSSD 10. Alternatively, with respect to the Worst, a minimum value of theattribute value within a constant time range in the past may be adoptedas the Worst Value, or a minimum value from the past until the presentmay be adopted as the worst value going back to the past in which thecommunication or process is carried out for a certain number of times(certain amount of data).

“Raw Data” (Raw Value) in FIG. 26 may be adopted as a specification forthe SSD control tool 110 to diagnose the lifespan of the SSD 10. The rawdata of the statistical information (e.g., X01 to X19, X23, X24) istransmitted from the SSD 10 to the SSD control tool 110 as Raw Data. Inthis case, the SSD control tool 110 may already hold the RMAX or the SSDcontrol tool 110 may acquire the RMAX by separately reading out from theSSD 10 or reading from another storage device, compare the RMAX and theRaw Data, and determine that the SSD 10 reached the end of the lifespanwhen Raw Data>RMAX or Raw Data RMAX. For instance, in the case of theNAND GC failure flag, determination is made that the SSD 10 reached theend of the lifespan when it is 1. In the case of the total number of badblocks, determination is made that the SSD 10 reached the lifespan whenit becomes greater than a predetermined value. With respect to the RawData, the raw data of the statistical information does not necessarilyneed to be output, and the memory controller 50 may transmit to the SSDcontrol tool 110 a value obtained by performing four arithmeticoperations on the raw data of the statistical information as the RawData, and compare the RMAX with the value obtained through the fourarithmetic operations to make the determination. The memory controller50 may transmit to the SSD control tool 110 data obtained by encryptingthe raw data of the statistical information as the Raw Data, and thememory controller 50 may decode the same and compare the decoded datawith the RMAX to make the determination.

The SSD control tool 110 compares the acquired statistical informationwith a predetermined threshold value such as RMAX and RMIN (step S222),and invalidates the RWIF driver 121 (step S223), similar to FIG. 23 ,when determined that the SSD 10 reaches the end of the lifespan (orright before the end of lifespan, or in abnormal state) (step S222: Yes)such as when the statistical information of the SSD 10 becomes greaterthan RMAX (or X24=1, or when the statistical information becomes smallerthan RMIN) The SSD control tool 110 may re-start the SSD 10 (step S224).After the re-start of the SSD 10, the SSD control tool 110 validates theROIF driver 122 (step S225).

The operation in the host 100 when the SSD 10 is in the normal mode maybe the operation procedure illustrated in FIG. 27 . In such operationprocedure, the SSD control tool 110 periodically issues a SMART READDATA or a command of the S.M.A.R.T or a vendor unique command to the SSD10 (step S240). In the SSD 10 receiving the information of theS.M.A.R.T, the memory controller 50 acquires the current number of badclusters based on the number of entries of the bad cluster table in themanagement information stored in the RAM 40, and returns the acquirednumber of bad clusters to the host 100. The SSD control tool 110acquires the number of bad clusters by receiving the number of badclusters returned from the SSD 10 (step S241).

The SSD control tool 110 compares the acquired number of bad clusterswith a predetermined threshold value (step S242), and invalidates theRWIF driver 121 (step S243), re-starts the SSD 10 (step S244), andvalidates the ROIF driver 122 (step S245), similar to FIG. 13 , when thenumber of bad clusters of the SSD 10 is greater than or equal to athreshold value.

The backup function may be loaded in the SSD control tool 110. In astate the SSD 10 is shifting to the read only mode, the data retentionproperties of the SSD 10 are assumed to be degrading, and thus the userdata of the SSD needs to be evacuated to another secondary storagedevice as fast as possible. FIG. 28 is a view illustrating aconfiguration of the host 100 of when the SSD control tool 110 is loadedwith the backup function. The secondary storage device (other SSD, harddisc drive, portable disc storage medium, etc.) 400 is connected to thehost 100, and the OS of the host 100 and the secondary storage device400 communicate through a secondary storage device driver 401.

FIG. 29 illustrates an operation example of the SSD control tool 110when taking a backup. In FIG. 29 , step S208 is added to the operationprocedure of the SSD control tool 110 illustrated in FIG. 22 . In thebackup in step S208, the SSD control tool 110 displays a message such as“SSD is shifting to read only mode. Need backup of data of SSD?”, and an“OK” button and a “Cancel” button for selecting the necessity of backup.The backup starts when the “OK” button is clicked with the mouse 135,and the display of the message disappears without carrying out thebackup when the “Cancel” button is clicked with the mouse 135. A commandto read out the data of all LBA of the SSD 10 is sent to the ROIF driver122. The SSD control tool 110 sends a command to the secondary storagedevice driver 401 to write the data read out from the SSD 10 to the LBA(LBA of secondary storage device 400) same as the LBA (LBA of SSD) ofthe data read out from the SSD 10. For instance, the data of LBA=0h ofthe SSD 10 is copied to the LBA=0h of the secondary storage device 400.The data of LBA=234c5h of the SSD 10 is copied to the LBA=234c5h of thesecondary storage device 400.

In the backup process, the SSD control tool 110 may send a command tothe OS of the host 100 to copy all the files of the SSD 10 to thesecondary storage device 400. In this case, the OS references the filemanagement table or metadata contained in the OS, acquires all the LBAsof all the files of the SSD 10, reads out all the data of the acquiredLBAs, writes the read data in the secondary storage device 400, andupdates the file management table or metadata such that the written LBAand the index of the file are corresponded. The information of thepartition including the Master Boot Record (MBR) information of the SSD10 and the file system management region may be accessed to acquire theinformation of the region being used and the file, the ROM image on thedata of the SSD 10 is created based on the acquired information, and thecreated ROM image may be saved in another storage device.

In the present embodiment, the physical address of the NAND memory 20 isdirectly associated to the LBA in the management information forsimplicity, but the LBA may be managed using the management unit of anatural number multiples of two or greater of the sector size as in U.S.Patent Application Publication No. 2009 0222617, and the correspondencerelationship of the management unit and the physical address of the NANDmemory 20 may be described in the management information instead of theLBA. The management information describing the correspondencerelationship of the physical address of the NAND memory 20 and the LBAmay take various forms, and the form taken by the table(logical-physical conversion table) describing the correspondencerelationship of the physical address and the LBA does not influence theessence of the present invention. With respect to the nonvolatile memoryother than the NAND type flash memory as well, the managementinformation describing the correspondence relationship of the physicaladdress and the nonvolatile memory and the LBA may take various formsbut the form taken by the table (logical-physical conversion table)describing the correspondence relationship of the physical address andthe LBA does not influence the essence of the present invention.

The information not related to the reliability information used in themanagement information section does not influence the essence of thepresent invention. The requirements for the reliability information canalso be applied in embodiments after the second embodiment.

Therefore, according to the first embodiment, whether or not the readonly mode shift condition is met is determined in the SSD 10, where ifthe read only mode shift condition is met, the interface controller isswitched to that dedicated for reading, and whether or not to recognizethe SSD 10 as the read only memory in which only the read operation ofthe read operation and the write operation is enabled is determinedbased on the information acquired from the SSD 10 in the host 100, andthe interface driver for the SSD control is switched to that dedicatedfor reading if determined to be recognized as the read only memory, andhence the host can normally recognize the SSD that shifted to the readonly mode as a device in which only the read operation is enabled.

Second Embodiment

In the first embodiment, the function mounting to the SSD 10 and thefunction mounting to the host 100 are both used. In the secondembodiment, a case in which only the function mounting to the SSD 10 isapplied is illustrated. It is most effective if the function is mountedon both the SSD 10 and the host 100, but sufficient effect can beexhibited even by mounting the function only on the SSD 10.

FIG. 30 illustrates a configuration of the second embodiment of thecomputer system. In the second embodiment, the SSD 10 is mounted withthe interface controller 30 described in the first embodiment, and theSSD control tool 110 for switching the interface driver 120 for the SSD10 is not mounted on the host 100 side. In FIG. 30 , the same referencenumerals are denoted on the constituent elements having the samefunction as the constituent elements illustrated in FIG. 1 , andredundant description will be omitted. In the second embodiment, forexample, the function of the IPL 55 is mounted on the controller 50. Inthe SSD 10 of the second embodiment as well, the functions of the SSD 10described in the first embodiment above all can be mounted.

In the second embodiment, the memory controller 50 determines whether ornot the read only mode shift condition described above for shifting theSSD 10 from the normal readable/writable state to the read only modestate is met using the management information described above at thestartup of the SSD or during the operation of the SSD, where theinterface controller 30 is switched from the RWIF controller 31 to theROIF controller 32 if the read only mode shift condition is met. TheRWIF controller 31 transmits the device identification informationindicating that the relevant drive is a readable/writeable drive to thehost when a request is made from the host 100. The ROIF controller 32transmits the device identification information indicating that therelevant drive is a reading dedicated drive to the host when a requestis made from the host 100.

The RWIF controller 31 is desirably configured to explicitly indicate tothe host 100 that the SSD 10 is the ATA device. For instance, in theDevice Signature described in ATA/ATAPI Command Set-2 (ACS-2), LBA(7:0)is output to 01h, LBA(15:8) to 00h, and LBA(23:16) to the host 100 as00h, so that notification can be made to the host 100 that the SSD 10 isthe ATA device. The ROIF controller 32 is desirably configured toexplicitly indicate to the host 100 that the SSD 10 is the ATAPI device.For instance, in the Device Signature described in ACS-2, LBA(7:0) isoutput to 01h, LBA(15:8) to 14h, and LBA(23:16) to the host 100 as EBh,so that notification can be made to the host 100 that the SSD 10 is theATAPI device.

The ROIF controller 32 is configured to notify the host 100 that the SSD10 does not support the write command and is read only. For instance,when receiving the command GET CONFIGURATION (46h) adopted in the INCITSMulti-Media Commands-6 (MMC-6) from the host 100 through the ATAinterface 90, the ROIF controller 32 returns to the host 100 that allthe write functions are non-supportive in the features such as RandomWritable (Feature Number=0020h), Incremental Streaming Writable (FeatureNumber=0021h), Write Once(Feature Number=0025h), and the like. On theother hand, the ROIF controller 32 may be configured to explicitlyindicate to the host 100 that the SSD 10 is the ATA device, similar tothe RWIF controller 31, and may be configured to return to the host 100that all the write functions are non-supportive when receiving thedevice identification information from the host 100 through the ATAinterface 90 such as the command ECh IDENTIFY DEVICE described in ACS-2.The method of notifying whether or not the SSD 10 is a read only devicemay take various other forms.

For instance, with reference to FIG. 18 used in the first embodiment,the memory controller 50 determines whether or not the RO mode shiftcondition is met is determined while the SSD 10 is operating (FIG. 18 :step S160). A specific example of when the RO mode shift condition ismet including a condition such as when determined that the SSD 10reached the end of the lifespan (or right before reaching the end of thelifespan, or in abnormal state) such as when at least one of thestatistical information X01 to X19, X23, X24 is greater than RMAX, whenX24=1, or when the statistical information is smaller than RMIN.

When the RO mode shift condition is met, the memory controller 50desirably cancels all the write processes on the NAND memory 20currently being performed (step S161), returns an error with respect toall the write requests received from the host 100, and deletes all thequeues of the write request received from the host 100 (step S162). Thememory controller 50 then writes 1 to the RO mode flag 25 in themanagement information of the NAND memory 20 (step S163). The SSD 10thereafter returns an error to all the write requests received from thehost 100 until the power is cut off or reset (steps S164, S165).

At the startup of the SSD 10, the operation similar to FIG. 21 used inthe first embodiment is executed. In other words, when the SSD 10 isstarted, the IPL 55 in the memory controller 50 reads out the RO modeflag 25 in the management information of the NAND memory 20 (step S170),and read the RO mode flag 25 (step S171). If the RO mode flag 25 is 0(step S171), the IPL 55 validates the RWIF controller 31 of theinterface controller 30 (step S172) to be in the normal mode, and thenreads out the management information of the NAND memory 20 to the RAM 40(step S173),

If the RO mode flag 25 is 1, the IPL 55 validates the ROIF controller 32to be in the RO mode (step S174), and then reads out the managementinformation of the NAND memory 20 on the RAM 40 (step S175). In the ROmode, the SSD 10 acts as a read only device that does not support thewrite.

The host 100 requests for the identification information to theconnected device at the startup of the host 100 or at the connection ofthe device. In the normal mode, the SSD 10 has the RWIF controller 31return device identification information indicating that the SSD 10 isreadable and writable with respect to the host 100 to the host, andhence the host 100 recognizes the SSD 10 as a readable and writabledevice. In the RO mode, the SSD 10 has the ROIF controller 32 returndevice identification information indicating that the SSD 10 is a writenon-supporting read only drive to the host 100, and hence the host 100recognizes the SSD 10 as the write non-supporting device. Therefore, atthe time of the RO mode, the write request is not sent from the host 100to the SSD 10. Thus, in the RO mode, the SSD 10 acts as a read onlydevice that does not support the write, so that accesses other than thewrite can be made from the host 100. The SSD 10 can be recognized as areadable device even if Windows (registered trademark) is mounted on thehost 100 for the OS.

When the identification information that the SSD 10 is a writenon-supporting external storage device is notified from the SSD 10 tothe host 100 when the reliability of the SSD 10 is degraded, it appearsto the host 100 as if the SSD 10 switched from the readable and writableexternal storage device to the write non-supporting external storagedevice. Therefore, the SSD 10 with degraded reliability acts as a readonly device to the host 100, so that the host 100 can handle the SSD 10as a general read only external storage device such as the CD-ROM or theDVD-ROM.

Third Embodiment

In the third embodiment, a case in which only the function mounting tothe host 100 is applied is shown. It is most effective if the functionis mounted on both the SSD 10 and the host 100, but sufficient effectcan be exhibited even by mounting the function only on the host 100.

FIG. 31 illustrates a configuration of the third embodiment of thecomputer system. In the third embodiment, the interface driver 120 andthe SSD control tool 110 described in the first embodiment are mountedon the host 100, and the interface controller 30 in which the RWIFcontrol 31 and the ROIF controller 32 can be switched is not mounted onthe SSD 10 side. In FIG. 31 , the same reference numerals are denoted onthe constituent elements having the same function as the constituentelements illustrated in FIG. 1 , and redundant description will beomitted. An interface controller 38 mounted with only the RWIFcontroller 31 is mounted in place of the interface controller 30. In thehost 100 of the third embodiment as well, the functions of the host 100described in the first embodiment above all can be mounted. In the thirdembodiment, SSD 10 itself does not necessarily need to be able to beshifted to RO mode.

In the third embodiment, the SSD control tool 110 executes operationssimilar to the operations described in FIG. 25 and FIG. 27 of the firstembodiment. When the host 100 is started, the host 100 starts the SSDcontrol tool 110. The SSD control tool is desirably automaticallystarted with the startup of the host 100 by registering the startupmenu, the service, or the registry in the Windows (trademark). The SSDcontrol tool may be arbitrarily started by the user with the keyboard134, the mouse 135, and the like. When the SSD control tool 110 isstarted, the SSD control tool 110 transmits a transmission request ofthe statistical information to the SSD 100 to acquire at least one ofthe statistical information X01 to X19, X23, X24 of the SSD 10 in thecase of FIG. 25 (FIG. 25 : step S220). The transmission request may beSMART READ DATA or a command of S.M.A.R.T, which is a self-diagnosticfunction of the memory, a SCT Command Transport described in ACS-2, or acommand unique to the vendor, as described above.

The SSD control tool 110 acquires the statistical information (stepS221) in such manner. The SSD control tool 110 compares the statisticalinformation returned from the SSD with a threshold value (e.g., RMAX orRMIN described in first embodiment) (step S222). When using the B0h/D0hSMART READ DATA described in the ACS-2 to acquire the statisticalinformation, the SSD control tool 110 acquires at least one statisticalinformation of the constituent elements (X01 to X19, X23, X24) of thestatistical information 26 in the form of Attribute Value, Threshold,Worst Value, and Raw Data (Raw Value) illustrated in FIG. 26 . Thecalculation method of the Attribute Value, the Threshold, the WorstValue, and the Raw Data (Raw Value) by the memory controller 50 is thesame as the first embodiment, and the information calculated in suchmanner is transmitted from the SSD 10 to the control tool 110 as theread data with respect to the B0h/D0h SMART READ DATA.

For instance, when using the Attribute Value and the Threshold of theSMART as comparison data for diagnosing the lifespan (or abnormal state)of the SSD 10, the SSD control tool 110 carries out the comparison ofthe Attribute Value and the Threshold, and the SSD control tooldetermines that the SSD 10 reached the end of the lifespan (or abnormalevent) when Attribute Value<Threshold (or Attribute Value Threshold). IfSMAB=100 and AMALR=0.3 as in the first embodiment, the best value of theattribute value with respect to the statistical information to beadopted is 100 (e.g., 100 immediately after shipment), and graduallydecreases as the reliability degrades, where the attribute value 30reaches a value smaller than or equal to 30 when the SSD 10 can nolonger guarantee reliability (when raw data of statistical informationbecomes greater than or equal to RMAX), and the SSD control tool 110determines that the SSD 10 is to be recognized as the read only memory(step S222: Yes). BOh/DAh SMART RETURN STATUS, which is a commanddescribed in ACS-2, is used as a means for detecting whether or not theAttribute Value exceeds the Threshold, and whether or not the AttributeValue exceeds the Threshold value may be determined from the Output ofthe relevant command.

For instance, when using the Worst Value and the Threshold of the SMARTas comparison data for diagnosing the lifespan (or abnormal state) ofthe SSD 10, the SSD control tool 110 carries out the comparison of theWorst Value and the Threshold, and the SSD control tool determines thatthe SSD 10 reached the end of the lifespan (or abnormal event) whenWorst Value<Threshold (or Worst Value≤Threshold). If SMAB=100 andAMALR=0.3 as in the first embodiment, the best value of the worst valuewith respect to the statistical information to be adopted is 100 (e.g.,100 immediately after shipment), and gradually decreases as thereliability degrades, where the worst value 30 reaches a value smallerthan or equal to 30 when the SSD 10 can no longer guarantee reliability(when raw data of statistical information becomes greater than or equalto RMAX), and the SSD control tool 110 determines that the SSD 10 is tobe recognized as the read only memory (step S222: Yes).

For instance, when using the Raw Data (Raw Value) of the SMART thatincreases with degradation in the reliability of the SSD 10 for thecomparison data for diagnosing the lifespan (or abnormal state) of theSSD 10, the SSD control tool 110 carries out the comparison of the RawValue and the RMAX, and the SSD control tool determines that the SSD 10reached the end of the lifespan (or abnormal state) when Raw Value≥RMAX(or Raw Value>RMAX) The RMAX is a parameter held on the main memory 202such as the SSD control tool 110. The RMAX is desirably stored in theSSD 10 as nonvolatile information when the power supply of the computersystem 1 is turned OFF, and loaded to the main memory 202 when the SSDcontrol tool is loaded to the main memory 202 as illustrated in FIG. 5and FIG. 6 when the power supply is turned ON. The RMAX is desirablydetermined at the development of the SSD 10 as in the first embodiment,and is stored in a region to become the install source of the SSDcontrol tool such as the region of the storage medium 400 of the WEBserver, the storage region of the optical storage medium 500, or theregion of the USB memory 600.

The Raw Value gradually increases as the reliability of the SSD 10degrades, where the Raw Value reaches a value greater than or equal tothe RMAX when the SSD 10 can no longer guarantee reliability, and theSSD control tool 110 determines that the SSD 10 is to be recognized asthe read only memory (step S222: Yes). The RMAX may adopt differentvalues with respect to each constituent element such as the statisticalinformation X01 to X19, S23, and the like.

For instance, when using the Raw Data (Raw Value) of the SMART thatdecreases with degradation in the reliability of the SSD 10 as thecomparison data for diagnosing the lifespan (or abnormal state) of theSSD 10, the SSD control tool 110 carries out the comparison of the RawValue and the RMIN, where the SSD control tool determines that the SSD10 reached the end of the lifespan (or abnormal state) when RawValue<RMIN (or Raw Value<RMIN). The RMIN is a parameter held on the mainmemory 202 such as the SSD control tool 110. The RMIN is desirablystored in the SSD 10 as nonvolatile information when the power supply ofthe computer system 1 is turned OFF, and loaded to the main memory 202when the SSD control tool is loaded to the main memory 202 asillustrated in FIG. 5 and FIG. 6 when the power supply is turned ON. TheRMIN is desirably determined at the development of the SSD 10 as in thefirst embodiment, and is stored in a region to become the install sourceof the SSD control tool such as the region of the storage medium 400 ofthe WEB server, the storage region of the optical storage medium 500, orthe region of the USB memory 600.

The Raw Value gradually decreases as the reliability of the SSD 10degrades, where the Raw Value reaches a value smaller than or equal tothe RMIN when the SSD 10 can no longer guarantee reliability, and theSSD control tool 110 determines that the SSD 10 is to be recognized asthe read only memory (step S222: Yes). The RMIN may adopt differentvalues with respect to each constituent element such as the statisticalinformation X01 to X19, S23, and the like.

For instance, when receiving the statistical information X24 as the RAWData (Raw Value) of the SMART, and using the same as comparison data fordiagnosing the lifespan (or abnormal state) of the SSD 10, the SSDcontrol tool 110 carries out the determination on whether or not the RawValue is 1, and determines that the SSD 10 reached the end of herlifespan when Raw Value=1. If the reliability of the SSD 10 degrades andsufficient number of free blocks cannot be ensured by the memorycontroller 50 even by NAND GC, the Raw Value is set to 1 by the memorycontroller 50, and the SSD control tool 110 determines to recognize theSSD 10 as a read only memory (step S222: Yes).

If determined that the RO mode shift condition is met in the SSD 10 as aresult of the comparison of step S222, that is, if determined that theSSD 10 is to be recognized as the read only memory (step S222: Yes), theROIF driver 122 is validated (step S225). The SSD control tool 110 maycause the operating system 150 to recognize the SSD 10 as the read onlymemory by operating the system parameter of the operating system 150 inFIG. 12 . The SSD control tool 110 desirably transmits a reset command,or the like and re-starts the SSD 10 before the step S225 (S224).

It is desirable that the SSD control tool 110 periodically carries outthe procedures of steps S220, step S221, and step S222 (in the case ofFIG. 25 ) illustrated in FIG. 25 , FIG. 27 and the like, that is, thetransmission request of the statistical information to the SSD 10 andthe determination to recognize the SSD 10 as the read only memory evenwhile the host 100 is operating. For instance, the SMART READ DATA maybe issued every constant time, and whether or not to recognize the SSD10 as the read only memory may be determined. The request and thedetermination may be carried out at the startup of the host 100, or therequest and the determination may be carried out only after the startupof the host 100 to reduce the number of interrupt processing of the SSDcontrol tool 110. If determined to recognize the SSD 10 as the read onlymemory, the ROIF driver 122 of the interface driver 120 is validated.After recognizing the SSD 10 as the read only memory to reduce thenumber of interrupt processing of the SSD control tool 110, thetransmission request of the statistical information and the RO modeshift determination are desirably not carried out.

The SSD control tool 110 may carry out the request and the determinationwhen recognizing the startup or the connection of the SSD 10. Forinstance, if the interface 90 is the SATA interface, determination ismade that the SSD 10 is started or connected when the status registerrelated to the SSD 10 of the host 100 becomes from 7Fh to 50h, and thenthe request and the determination may be carried out.

The determination to recognize as the read only memory may be carriedout by the memory controller 50, and the SSD control tool 110 mayreceive only the determination result through the SMART READ DATA, theSCT Command Transport, or the command unique to the vendor. Forinstance, the SSD control tool 110 receives the numerical value 0 as theAttribute Value from the SSD 10 by the SMART READ DATA if determined tobe recognized as the read only memory by the memory controller 50 at thecriterion similar to the first embodiment, and receives the numericalvalue 100 in other times (normal time), where the numerical value 70 isreceived as the Threshold for both cases of recognizing and notrecognizing as the read only memory, and determination is made torecognize as the read only memory if Attribute Value<Threshold (stepS222: Yes) and to not recognize as the read only memory if AttributeValue>Threshold (step S222: No). It should be apparent that the WorstValue and the Raw Value may be used for the reception of thedetermination result.

When adopting the current temperature X20, the highest temperature X21,and the lowest temperature X22 for the statistical information, thetemperature abnormality has a possibility of being temporary, and hencethe ROIF driver is invalidated and the RWIF driver is validated afterthe SSD control tool 110 validates the ROIF driver in step S225 whenAttribute Value≥Threshold (or Attribute Value>Threshold) anddetermination is made that the normal state is returned.

The ROIF driver 122 is desirably configured to not transmit the writecommand with respect to the SSD 10 at all from the standpoint ofpreventing the loss of user data caused by data breakage or damage ofthe SSD 10. However, if there is a need to write the data of one partsuch as the system information of the operating system in the SSD 10,the ROIF driver 122 may permit the write of the relevant data to the SSD10 as an exception but the data amount of the relevant data is desirablysufficiently small with respect to the capacity of the NAND memory 20.More desirably, in order to prevent the user from transmitting the writecommand by mistake and writing the data to the SSD 10, the ROIF driver122 does not transmit the normal write command with respect to the SSD10 at all such as 35 h WRITE DMA EXT and 61h WRITE FPDMA QUEUEDdescribed in ACS-2, and the write with respect to the SSD 10 isdesirably permitted by only the command using a special command such asthe SCT Command Transport described in INCITS ACS-2 and other commandsunique to the vendor if there is an exceptional need to write the datato the SSD 10.

In the third embodiment as well, as illustrated in FIG. 5 , the SSDcontrol tool 110 is stored in the region 110A of the NAND memory 20 ofthe SSD 10 when the power supply of the host device 100 is turned OFF,but is loaded from the region 110A to the region 110 at the startup ofthe host device 100 or the startup of the program. As illustrated inFIG. 6 , if a plurality of external storage devices is connected to thehost device, the SSD control tool may be stored in a region 110B of thenonvolatile storage device 300 different from the SSD 10 as the SSD 10,and may be loaded from the region 110B to the region 110 at the startupof the host device 100 or the startup of the program. In particular, ifthe nonvolatile storage device 300 is used as a system drive for storingthe OS, and the SSD 10 is used as a data drive for storing user datasuch as documents, still image data, and moving image data, it isdesirable to store the control tool in the nonvolatile storage device300 serving as the system drive from the standpoint of clearlyseparating the roles of the drive 10 and the drive 300 such as using thesystem drive 300 as a drive for mainly storing the OS and theapplication program and using the data drive 10 as a drive for storingthe user data.

In the third embodiment as well, as illustrated in FIG. 5 and FIG. 6 ,it is desirable for the computer system 1 to be shipped with the SSDcontrol tool stored in the SSD 10 or the nonvolatile storage device 300,put on the shelves, and provided to the user from the standpoint ofsaving the effort of the user in carrying out the setup of the controltool. From the standpoint of enabling the user to select whether or notto install the SSD control tool and from the standpoint of providing themost recent control tool to the user, the control tool is desirablystored in the SSD 10 or the nonvolatile storage device 300 by beingdownloaded from the WEB illustrated in FIG. 7 , installed from theDVD-ROM illustrated in FIG. 8 , and installed from an external storagemedium such as USB memory illustrated in FIG. 9 . In the thirdembodiment as well, the optical medium 500 and the USB memory 600 aredesirably packaged and sold with the SSD 10 as accessories at the timeof shipment of the SSD 10 from the standpoint of facilitatedavailability by the user. The optical medium 500 or the USB memory 600may be sold alone as software product or may be attached as a supplementto magazines and books.

Therefore, the SSD control tool 110 mounted on the host 100 determinesthe reliability state (statistical information) of the SSD 10, andselects the interface driver for the SSD based on the determinationresult, and hence it appears to the OS and other software as if the SSD10 switched from the readable and writable external storage device tothe write non-supporting external storage device when the reliability ofthe SSD 10 is degraded (when the end of lifespan is reached, in abnormalstate). Therefore, the SSD 10 with degraded reliability acts as a readonly device to the OS and the software, so that the host 100 can handlethe SSD 10 as a general read only external storage device such as theCD-ROM or the DVD-ROM.

Fourth Embodiment

In the first and second embodiments, the SSD 10 transmits theinformation that the SSD 10 is a read only device to the host 100. Usingan interface relay device 700 prepared separate from the SSD 10, theinterface relay device 700 may transmit to the host 100 information thatthe SSD 10 is a read only device. The interface relay device 700 iscalled a read only bridge. In the fourth embodiment, SSD 10 itself doesnot necessarily need to be able to be shifted to RO mode.

FIG. 32 illustrates a state in which the read only bridge 700 isconnected to the computer system illustrated in FIG. 10 . FIG. 33 is ablock diagram illustrating a computer system of a fourth embodiment inwhich the read only bridge is connected. The read only bridge 700 isconfigured to transmit the information of being the read only device tothe host 100. The information of being the read only device may be thecommand GET CONFIGURATION (46h) described above that is adopted in theMMC-6, or may be other commands. Furthermore, the read only bridge 700is configured to play the role of a relay of the host side interface andthe SSD side interface such as transmit various commands and responsesreceived from the host 100 to the SSD 10 and transmit various commandsand responses received from the SSD 10 to the host 100. If the interfacestandards of the host side interface and the SSD side interface differ,the read only bridge 700 converts the received command and response tocomply with the transmission side interface, and then transmits thesame. If the host side interface is the SATA interface, the read onlybridge 700 may be configured to explicitly indicate to the host 100 thatthe SSD 10 is the ATAPI device. For instance, in the Device Signaturedescribed in ACS-2, LBA(7:0) is output to 01h, LBA(15:8) to 14h, andLBA(23:16) to the host 100 as EBh, so that notification can be made tothe host 100 that the SSD 10 is the ATAPI device.

During the normal use of the host 100, the SSD 10 is connected to themotherboard 130 of the host 100 by the SATA cable serving as the ATAinterface 90 or the USB cable, as illustrated in FIG. 10 . When the SSDcontrol tool 110 mounted on the host 100 acquires the statisticalinformation by the S.M.A.R.T information described in the ACS-2described above, and determines that the reliability of the SSD 10 isdegrading when the condition of statistical information>RMAX,statistical information<RMIN, or X24=1 is met by the comparison of themanagement information and the threshold value, the SSD control tool 110displays a warning window (or warning dialogue) including a message suchas “lifespan of SSD coming to end. Connect device side terminal of readonly bridge to SSD, connect host side terminal of read only bridge topersonal computer, and backup data of SSD” on the display 133. Thethreshold value (RMAX, RMIN, etc.) to be compared with the managementinformation may be held in the host 100 so that the SSD control tool 110can carry out the determination on the degradation of the reliability orthe threshold value may be held in the SSD 10 so that the memorycontroller 50 of the SSD 10 can carry out the determination on thedegradation of the reliability and the memory controller 50 may transmitonly the information that the management information exceeded thethreshold value to the host 100.

As illustrated in FIG. 32 , the user connects the SSD 10 and the readonly bridge 700 with the SATA cable, the USB cable, or the like, andconnects the read only bridge 700 and the motherboard 130 with the SATAcable, the USB cable, or the like according to the warning messagedisplayed on the display 133.

When the host 100 is thereafter started, the read only bridge 700transmits information that the SSD 10 is the read only device to thehost 100. The host 100 then applies the read only driver of the readonly ATAPI driver as the interface driver 170 of the read only bridge700, and the SSD 10 is recognized as the read only device such as theCD-ROM and the DVD-ROM on the host. On the other hand, the read onlybridge 700 may be configured to explicitly indicate to the host 100 thatthe SSD 10 is the ATA device, and may be configured to return to thehost 100 that all write functions are non-supportive when receiving thedevice identification information such as the command ECh IDENTIFYDEVICE described in the ACS-2 from the host 100 through the ATAinterface. The method of notifying whether or not the SSD 10 is a readonly device may take various other forms.

In the embodiment, when the write is disabled with respect to the SSD orwhen the write operation with respect to the SSD is not guaranteed. Thehost can carry out the readout operation on the SSD 10 by simplyconnecting the read only bridge 700 between the host 100 and the SSDeven under situations where the write operation with respect to the SSDmay lead to defect in data of the SSD or failure of the SSD.

The system disc used to start up the host under the situation in whichthe read only bridge 700 is connected may be the SSD 10, or may be anSSD or a hard disc drive (HDD) prepared separate from the SSD 10pre-installed with the system, or may be a DVD-ROM, a CD-ROM, or USBmemory installed with a boot program.

Even when the read only bridge 700 is connected, the host 100 may holdthe SSD control tool 110 having the function of backing up the data ofthe SSD or other software. When detecting that the read only bridge 700is connected, the software having the backup function displays a messagesuch as “read only bridge is connected. Back up data of SSD?” as well asthe “OK” button and the “Cancel” button for selecting the necessity ofbackup in the window of the software. The backup starts when the “OK”button is clicked with the mouse 135, and the display of the messagedisappears without carrying out the backup when the “Cancel” button isclicked with the mouse 135. The backup can be carried out later even ifthe “Cancel” button is pushed with the mouse 135.

In the first to fourth embodiments, a case in which the NAND memory isadopted for the nonvolatile memory has been described, but the first tofourth embodiments may be applied to nonvolatile memory other than theNAND memory such as the hard disc drive (HDD) for the nonvolatilememory. The nonvolatile memory may be a semiconductor storage medium inwhich the memory cells are arranged three-dimensionally as shown in U.S.Patent Application Publication No. 2010 0172189 and U.S. PatentApplication Publication No. 2010 0254191.

While certain embodiments have been described, these embodiments havebeen presented by way of example only, and are not intended to limit thescope of the inventions. Indeed, the novel embodiments described hereinmay be embodied in a variety of other forms; furthermore, variousomissions, substitutions and changes in the form of the embodimentsdescribed herein may be made without departing from the spirit of theinventions. The accompanying claims and their equivalents are intendedto cover such forms or modifications as would fall within the scope andspirit of the inventions.

What is claimed is:
 1. An information processing system comprising: ahost device and a storage device coupled with the host device; thestorage device including: a nonvolatile memory including a plurality ofblocks; and a first controller configured to: control the nonvolatilememory, and determine whether the storage device is in a Read Only Modethe host device being connectable to a display, the host deviceincluding a second controller, the second controller configured to:acquire a first value from the storage device, the first value being atleast one value of a plurality of pieces of statistical information,cause the display to show a certain message when the acquired firstvalue exceeds a first threshold value, the first threshold valuecorresponding to the second value, and recognize the storage device as aread only device that supports only a read operation of read and writeoperations of the nonvolatile memory when receiving information that thestorage device is in the Read Only Mode.
 2. The information processingsystem according to claim 1, wherein the second controller is configuredto acquire the first threshold value from the storage device.
 3. Theinformation processing system according to claim 1, wherein the firstvalue is a value of a number of bad blocks.
 4. The informationprocessing system according to claim 1, wherein the first value is avalue of a number of times of write error occurrences of the nonvolatilememory.
 5. The information processing system according to claim 1,wherein the first value is a value of a number of times of erase erroroccurrences of the nonvolatile memory.
 6. The information processingsystem according to claim 1, wherein the first value is a value of atotal number of sectors of write data received from the host device. 7.The information processing system according to claim 1, wherein thefirst value is a value of temperature information of the storage device.8. The information processing system according to claim 1, wherein thefirst value is a maximum value of temperature of the storage device. 9.The information processing system according to claim 1, wherein the hostdevice communicates to the storage device based on a SATA (serialadvanced technology attachment) standard.
 10. The information processingsystem according to claim 9, wherein the first value is a value of anumber of times of error occurrences of SATA communication.
 11. Theinformation processing system according to claim 1, wherein the firstvalue is a value of a power on hours count of the storage device. 12.The information processing system according to claim 1, wherein thefirst value is an average value of a number of times of erasing of thenonvolatile memory.
 13. The information processing system according toclaim 1, wherein the first value is an average value of a number ofuncorrectable FCC (error correction code) error count.
 14. Theinformation processing system according to claim 1, wherein the firstvalue is a response time, the response time being a time required fromwhen receiving a command from the host device until responding to thehost device.
 15. The information processing system according to claim14, wherein the command is a read command, and the response time is atime required from when receiving the command from the host device untiltransmitting read data to the host device.
 16. The informationprocessing system according to claim 14, wherein the command is a writecommand, and the response time is a time required from when receivingthe command from the host device until returning a write completenotification to the host device.
 17. The information processing systemaccording to claim 14, wherein the command is a write command, and theresponse time is a time required from when receiving the command fromthe host device until completing a reception of a write data, the writedata corresponding to the write command.
 18. The information processingsystem according to claim 1, wherein the host device is configured torestart the storage device when receiving the information.
 19. Theinformation processing system according to claim 1, wherein the hostdevice further comprises an interface driver for operating the storagedevice, the interface driver being operable in a first mode forsupporting the read and write operations of the nonvolatile memory inthe storage device and in a second mode for supporting only the readoperation of the read and write operations of the nonvolatile memory inthe storage device, and wherein the second controller is configured tocause the interface driver to switch from the first mode to the secondmode when receiving the information.
 20. The information processingsystem according to claim 1, wherein the first controller is configuredto determine whether the storage device is in the Read Only Mode basedon a second value, the second value being a value of a number of freeblocks of the nonvolatile memory.